summaryrefslogtreecommitdiff
path: root/ao_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ao_main.c')
-rw-r--r--ao_main.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/ao_main.c b/ao_main.c
index 85fb04f3..a63cadb7 100644
--- a/ao_main.c
+++ b/ao_main.c
@@ -24,12 +24,18 @@ main(void)
while (!(SLEEP & SLEEP_XOSC_STB))
;
+ /* Turn on the red LED until the system is stable */
+ ao_led_init();
+ ao_led_on(AO_LED_RED);
+
ao_timer_init();
ao_adc_init();
ao_beep_init();
- ao_led_init();
- ao_usb_init();
- ao_ee_init();
ao_cmd_init();
+ ao_ee_init();
+ ao_flight_init();
+ ao_log_init();
+ ao_report_init();
+ ao_usb_init();
ao_start_scheduler();
}