altos: oops -- altitude reporting wasn't pausing between signals
authorKeith Packard <keithp@keithp.com>
Tue, 8 Mar 2011 00:31:43 +0000 (16:31 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 16 Mar 2011 22:57:38 +0000 (15:57 -0700)
need to actually alternate the LED/tone with some space so you can
count.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_report.c

index 4646fb0982d02258f286ac44a317e89e024c3882..3223390fcbfed2f3e3cb8bd405452ee55d10561d 100644 (file)
@@ -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));