altos/telemetrum-v2.0: Use red LED during boot time
authorKeith Packard <keithp@keithp.com>
Sun, 15 Sep 2013 21:29:46 +0000 (14:29 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 15 Sep 2013 21:29:46 +0000 (14:29 -0700)
If the LED is stuck on, then the board has failed to initialize,
so use red instead of green as a warning indicator.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telemetrum-v2.0/ao_telemetrum.c

index e365417d348ba157765f96adcfd0b4e5704ce429..d79aba5405552666fda821b3b877b450f98c4d69 100644 (file)
@@ -42,7 +42,7 @@ main(void)
        ao_task_init();
        ao_serial_init();
        ao_led_init(LEDS_AVAILABLE);
-       ao_led_on(AO_LED_GREEN);
+       ao_led_on(AO_LED_RED);
        ao_timer_init();
 
        ao_spi_init();