From: Keith Packard Date: Tue, 8 Mar 2011 00:31:43 +0000 (-0800) Subject: altos: oops -- altitude reporting wasn't pausing between signals X-Git-Tag: 0.9.3~139 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=1d8579f973bfe1047ee91f03555e74abdc483e69;hp=d007bccf6cb36d24a9c7c48de7d80759ac6f2e37 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 --- 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));