From: Keith Packard Date: Wed, 12 Dec 2012 07:43:30 +0000 (-0800) Subject: altos: Tim Van Milligan suggestion for µP -- delay before showing last flight X-Git-Tag: 1.1.9.3~14^2~4 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=69447d8ad3f5a1e1f59939477afc7720a437fadc 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 --- 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();