diff options
| author | Keith Packard <keithp@keithp.com> | 2009-04-14 21:23:55 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-04-14 21:23:55 -0700 | 
| commit | 9605045164882b4ca3d1317ac860b02513a51f30 (patch) | |
| tree | 06ea27ec13199004e3d1e15d4c49ebffa26f780d /ao_main.c | |
| parent | dc844ee7e49a3b6145b3165252a592ed070d600f (diff) | |
use red LED to indicate system startup
Diffstat (limited to 'ao_main.c')
| -rw-r--r-- | ao_main.c | 12 | 
1 files changed, 9 insertions, 3 deletions
@@ -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();  }  | 
