projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731ba39
)
altos/ao_pad: Turn on all LEDs for a moment at power up
author
Keith Packard
<keithp@keithp.com>
Sun, 17 Jun 2018 19:30:09 +0000
(12:30 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/drivers/ao_pad.c
b/src/drivers/ao_pad.c
index 499b523828c6e31065ecf52a4ece7bbc6cd94679..d2b22b95721a6e05b00525742ec114ef52469739 100644
(file)
--- 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();