From: Keith Packard Date: Tue, 18 Jun 2019 20:02:12 +0000 (-0700) Subject: altos/micropeak-v2.0: Fix LED blinking sequence at power-on X-Git-Tag: 1.9.1~1^2~78 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=2ef794e60b4f6a6e9cb5e9a14ef732f7d6d36b3d;ds=sidebyside altos/micropeak-v2.0: Fix LED blinking sequence at power-on 'pips' happens between altitude report and data dump. Signed-off-by: Keith Packard --- diff --git a/src/micropeak-v2.0/ao_micropeak.c b/src/micropeak-v2.0/ao_micropeak.c index 7ba5cb95..0e3a9005 100644 --- a/src/micropeak-v2.0/ao_micropeak.c +++ b/src/micropeak-v2.0/ao_micropeak.c @@ -176,11 +176,12 @@ ao_micropeak(void) /* Give the person a second to get their finger out of the way */ ao_delay(AO_MS_TO_TICKS(1000)); - ao_pips(); - ao_log_micro_restore(); ao_compute_height(); ao_report_altitude(); + + ao_pips(); + ao_log_micro_dump(); #if BOOST_DELAY