X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fmicropeak%2Fao_report_tiny.c;h=bdcc131eacdc2f783e2d4c880f8051088f35d5a8;hb=c233ef67f42c14cb1d0e0542a9523b279f826af5;hp=8b4960c63cf93a5cb6dba48b280f2ee5b3e32c5b;hpb=8ff0db3979405357003b52022e564a3da75ec3fb;p=fw%2Faltos diff --git a/src/micropeak/ao_report_tiny.c b/src/micropeak/ao_report_tiny.c index 8b4960c6..bdcc131e 100644 --- a/src/micropeak/ao_report_tiny.c +++ b/src/micropeak/ao_report_tiny.c @@ -25,21 +25,21 @@ 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 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)