altos: Increase MicroPeak blink times a bit
[fw/altos] / src / micropeak / ao_report_tiny.c
index 8b4960c63cf93a5cb6dba48b280f2ee5b3e32c5b..0e8e287f63eae1c123988dd26ee12df95c3868ec 100644 (file)
@@ -24,22 +24,22 @@ static void
 ao_report_digit(uint8_t digit) __reentrant
 {
        if (!digit) {
-               mid(AO_MS_TO_TICKS(600));
-               pause(AO_MS_TO_TICKS(200));
+               mid(AO_MS_TO_TICKS(1000));
+               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(1000));
 }
 
 void
 ao_report_altitude(void)
 {
-       __pdata int16_t agl = ao_max_height;
-       __xdata uint8_t digits[10];
+       __pdata alt_t   agl = ao_max_height;
+       static __xdata uint8_t  digits[11];
        __pdata uint8_t ndigits, i;
 
        if (agl < 0)