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 8b4960c63cf93a5cb6dba48b280f2ee5b3e32c5b..109af1ed05050f31f2af72bdc3d590587c1f7a1b 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