summaryrefslogtreecommitdiff
path: root/bluefnorf/main.c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2020-04-11 15:51:25 +0200
committerjaseg <git@jaseg.net>2020-04-11 15:51:25 +0200
commit8a918076632571bfdad866ccbc4068c4115b6db7 (patch)
tree189fcf9fa5c0d481ca9441044f23b9db31f6cacf /bluefnorf/main.c
parentd07138f86f342e77c96d567c3120c1abc8afc017 (diff)
downloadolsndot-master.tar.gz
olsndot-master.tar.bz2
olsndot-master.zip
Add local changesHEADmaster
Diffstat (limited to 'bluefnorf/main.c')
-rw-r--r--bluefnorf/main.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/bluefnorf/main.c b/bluefnorf/main.c
index 540b41b..4c18306 100644
--- a/bluefnorf/main.c
+++ b/bluefnorf/main.c
@@ -15,26 +15,11 @@
#include "usb.h"
-int main(void)
-{
- int i = 0;
- // const char* line;
-
- // Clock Setup
+int main(void) {
rcc_clock_setup_in_hse_8mhz_out_72mhz();
-
- // Initialize USB
usb_serial_init();
- while (1) {
- /*
- if( i % 100000 == 0 ) {
- // Read ADC
- printf("Fnord 42 :: %d %d\r\n", _adc_samples[0], _adc_samples[1]);
- }
- */
-
- i++;
+ while (42) {
}
}