summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-12-11 23:43:30 -0800
committerKeith Packard <keithp@keithp.com>2012-12-11 23:43:30 -0800
commit69447d8ad3f5a1e1f59939477afc7720a437fadc (patch)
tree3dfa1ea91bae3d7520408fd01c21290b9eecc206 /src
parentd309fcff54fe6904fb860f33c15fcb7d1c96e91b (diff)
altos: Tim Van Milligan suggestion for µP -- delay before showing last flight
This gives the user time to move their finger out of the way of the LED. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/micropeak/ao_micropeak.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/micropeak/ao_micropeak.c b/src/micropeak/ao_micropeak.c
index 10e1d0f9..8ae26ec1 100644
--- 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();