altos/micropeak-v2.0: Fix LED blinking sequence at power-on
authorKeith Packard <keithp@keithp.com>
Tue, 18 Jun 2019 20:02:12 +0000 (13:02 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 18 Jun 2019 20:02:12 +0000 (13:02 -0700)
'pips' happens between altitude report and data dump.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/micropeak-v2.0/ao_micropeak.c

index 7ba5cb9..0e3a900 100644 (file)
@@ -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