projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ec178b
)
altos/micropeak-v2.0: Fix LED blinking sequence at power-on
author
Keith Packard
<keithp@keithp.com>
Tue, 18 Jun 2019 20:02:12 +0000
(13:02 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/micropeak-v2.0/ao_micropeak.c
b/src/micropeak-v2.0/ao_micropeak.c
index 7ba5cb950c240b0084cc22d3b0cb5f908471ee3e..0e3a90056d9ddd5c01cc2f8075898f4cf39746bc 100644
(file)
--- 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