summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-06-17 12:30:09 -0700
committerKeith Packard <keithp@keithp.com>2018-06-17 12:30:09 -0700
commitcef5a5725e3bf2c17965599bd76eb93cb05a0f80 (patch)
tree9f71bc6877c6ffd19a6661008d61efae7733bdf4
parent731ba39a22719a8c431eb63895cd8ba553975114 (diff)
altos/ao_pad: Turn on all LEDs for a moment at power up
Allow validation of all LED connections. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/drivers/ao_pad.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/ao_pad.c b/src/drivers/ao_pad.c
index 499b5238..d2b22b95 100644
--- a/src/drivers/ao_pad.c
+++ b/src/drivers/ao_pad.c
@@ -370,6 +370,8 @@ ao_pad(void)
int8_t ret;
ao_pad_box = 0;
+ ao_led_set(LEDS_AVAILABLE);
+ ao_delay(AO_MS_TO_TICKS(500));
ao_led_set(0);
for (;;) {
FLUSHD();