diff options
author | Keith Packard <keithp@keithp.com> | 2019-06-18 13:02:12 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-06-18 13:02:12 -0700 |
commit | 2ef794e60b4f6a6e9cb5e9a14ef732f7d6d36b3d (patch) | |
tree | 03b494d7099e3f18fe4ec53d6963ec4f6fa6e989 | |
parent | 8ec178bbc3babb072b8d53975632cf6294626e98 (diff) |
altos/micropeak-v2.0: Fix LED blinking sequence at power-on
'pips' happens between altitude report and data dump.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/micropeak-v2.0/ao_micropeak.c | 5 |
1 files 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 |