altos: Slow down micropeak report timing
authorKeith Packard <keithp@keithp.com>
Sun, 18 Nov 2012 18:36:17 +0000 (10:36 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 18 Nov 2012 18:36:17 +0000 (10:36 -0800)
This makes reading the LED a lot easier.

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

index 8b4960c..109af1e 100644 (file)
@@ -25,14 +25,14 @@ ao_report_digit(uint8_t digit) __reentrant
 {
        if (!digit) {
                mid(AO_MS_TO_TICKS(600));
-               pause(AO_MS_TO_TICKS(200));
+               pause(AO_MS_TO_TICKS(300));
        } else {
                while (digit--) {
-                       mid(AO_MS_TO_TICKS(200));
-                       pause(AO_MS_TO_TICKS(200));
+                       mid(AO_MS_TO_TICKS(300));
+                       pause(AO_MS_TO_TICKS(300));
                }
        }
-       pause(AO_MS_TO_TICKS(300));
+       pause(AO_MS_TO_TICKS(600));
 }
 
 void