From: Keith Packard Date: Sun, 17 Jun 2018 19:30:09 +0000 (-0700) Subject: altos/ao_pad: Turn on all LEDs for a moment at power up X-Git-Tag: 1.8.6~1^2~21 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=cef5a5725e3bf2c17965599bd76eb93cb05a0f80 altos/ao_pad: Turn on all LEDs for a moment at power up Allow validation of all LED connections. Signed-off-by: Keith Packard --- 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();