projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d309fcf
)
altos: Tim Van Milligan suggestion for µP -- delay before showing last flight
author
Keith Packard
<keithp@keithp.com>
Wed, 12 Dec 2012 07:43:30 +0000
(23:43 -0800)
committer
Keith Packard
<keithp@keithp.com>
Wed, 12 Dec 2012 07:43:30 +0000
(23:43 -0800)
This gives the user time to move their finger out of the way of the LED.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/micropeak/ao_micropeak.c
patch
|
blob
|
history
diff --git
a/src/micropeak/ao_micropeak.c
b/src/micropeak/ao_micropeak.c
index 10e1d0f9f3246d7a5e8aba35a60605d44a8b8ef3..8ae26ec110b71458c65dfae59fedc09302cd0d8c 100644
(file)
--- a/
src/micropeak/ao_micropeak.c
+++ b/
src/micropeak/ao_micropeak.c
@@
-110,6
+110,8
@@
main(void)
#endif
ao_restore_flight();
ao_compute_height();
+ /* Give the person a second to get their finger out of the way */
+ ao_delay(AO_MS_TO_TICKS(1000));
ao_report_altitude();
ao_spi_init();