From 2ef794e60b4f6a6e9cb5e9a14ef732f7d6d36b3d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 18 Jun 2019 13:02:12 -0700 Subject: [PATCH] altos/micropeak-v2.0: Fix LED blinking sequence at power-on 'pips' happens between altitude report and data dump. Signed-off-by: Keith Packard --- src/micropeak-v2.0/ao_micropeak.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2