Add USB support.
[fw/altos] / ao_task.c
index 0e976d7c4247e5e341c40684c2d62a8e2c59018c..d03fa02aa90a21d76eafc99f4ea48b552dd2bf25 100644 (file)
--- a/ao_task.c
+++ b/ao_task.c
@@ -179,8 +179,13 @@ ao_wakeup(__xdata void *wchan)
 void
 ao_start_scheduler(void)
 {
+       ao_timer_init();
+       ao_adc_init();
+       ao_beep_init();
+       ao_led_init();
+       ao_usb_init();
+
        ao_cur_task_id = AO_NO_TASK;
        ao_cur_task = NULL;
-       ao_timer_init();
        ao_yield();
 }