altos/ao_pad: Turn on all LEDs for a moment at power up
authorKeith Packard <keithp@keithp.com>
Sun, 17 Jun 2018 19:30:09 +0000 (12:30 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 17 Jun 2018 19:30:09 +0000 (12:30 -0700)
Allow validation of all LED connections.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_pad.c

index 499b523828c6e31065ecf52a4ece7bbc6cd94679..d2b22b95721a6e05b00525742ec114ef52469739 100644 (file)
@@ -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();