From cef5a5725e3bf2c17965599bd76eb93cb05a0f80 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 17 Jun 2018 12:30:09 -0700 Subject: [PATCH] altos/ao_pad: Turn on all LEDs for a moment at power up Allow validation of all LED connections. Signed-off-by: Keith Packard --- src/drivers/ao_pad.c | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.30.2