summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-07 16:31:43 -0800
committerKeith Packard <keithp@keithp.com>2011-03-16 15:57:38 -0700
commit1d8579f973bfe1047ee91f03555e74abdc483e69 (patch)
tree4b330128bdfde52531fa9996a65ae0ed2dfc57ae
parentd007bccf6cb36d24a9c7c48de7d80759ac6f2e37 (diff)
altos: oops -- altitude reporting wasn't pausing between signals
need to actually alternate the LED/tone with some space so you can count. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/ao_report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_report.c b/src/ao_report.c
index 4646fb09..3223390f 100644
--- a/src/ao_report.c
+++ b/src/ao_report.c
@@ -78,7 +78,7 @@ ao_report_digit(uint8_t digit) __reentrant
} else {
while (digit--) {
mid(AO_MS_TO_TICKS(200));
- mid(AO_MS_TO_TICKS(200));
+ pause(AO_MS_TO_TICKS(200));
}
}
pause(AO_MS_TO_TICKS(300));