summaryrefslogtreecommitdiff
path: root/src/telebt-v3.0/ao_telebt.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-08-04 09:54:16 -0700
committerKeith Packard <keithp@keithp.com>2016-08-04 09:54:16 -0700
commit48088d1d6a66c5d5271b52191367f07b09626b29 (patch)
treec53106d01aec985bbdf7bd7ad8fb382d5fe6183d /src/telebt-v3.0/ao_telebt.c
parent71e3a59e42c284fde8ac2767abd029230ed86e07 (diff)
altos: Flash all LEDS during power on
This tests the LEDS to make sure they all work on the following devices: easymega-v1.0 telebt-v3.0 teledongle-v3.0 telemega-v1.0 telemega-v2.0 telemetrum-v2.0 Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telebt-v3.0/ao_telebt.c')
-rw-r--r--src/telebt-v3.0/ao_telebt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/telebt-v3.0/ao_telebt.c b/src/telebt-v3.0/ao_telebt.c
index 833bcd5b..9117863b 100644
--- a/src/telebt-v3.0/ao_telebt.c
+++ b/src/telebt-v3.0/ao_telebt.c
@@ -33,7 +33,7 @@ main(void)
ao_task_init();
ao_led_init(LEDS_AVAILABLE);
- ao_led_on(AO_LED_RED);
+ ao_led_on(LEDS_AVAILABLE);
ao_timer_init();
ao_spi_init();
@@ -53,7 +53,7 @@ main(void)
ao_config_init();
- ao_led_off(AO_LED_RED);
+ ao_led_off(LEDS_AVAILABLE);
ao_start_scheduler();
return 0;