summaryrefslogtreecommitdiff
path: root/src/stm-demo/ao_demo.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-04-11 23:31:28 -0700
committerKeith Packard <keithp@keithp.com>2012-04-14 13:22:03 -0700
commit6d1606895f70c6bca20c25084107f90bd0b613ec (patch)
tree041d57a7e0af18391f59c10b6fd68d8ad041cd69 /src/stm-demo/ao_demo.c
parent49ac2828510e8b5fcba7e31631dac0580a455011 (diff)
altos: Switch stm-demo to HSE clock, add USB
Requires that SB17 be soldered shut so that the MCO from the STlink CPU is available the target for HSE input. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm-demo/ao_demo.c')
-rw-r--r--src/stm-demo/ao_demo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm-demo/ao_demo.c b/src/stm-demo/ao_demo.c
index 879f7f75..7bb53047 100644
--- a/src/stm-demo/ao_demo.c
+++ b/src/stm-demo/ao_demo.c
@@ -174,6 +174,7 @@ main(void)
ao_timer_set_adc_interval(100);
ao_adc_init();
+ ao_usb_init();
ao_cmd_register(&ao_demo_cmds[0]);