diff options
author | Keith Packard <keithp@keithp.com> | 2012-12-16 16:06:41 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-12-16 16:06:41 -0800 |
commit | 8bcf3a88a78cd9d69da413d0d18233e8a532a10c (patch) | |
tree | 803ddf3c79fe31e53f46a01b82be15e52866052d /src/micropeak/ao_report_tiny.c | |
parent | 22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c (diff) | |
parent | 00bc1a090a294e103370b8ab0a0fe5d7a2acfe92 (diff) |
Merge branch 'master' into hacking-cc1120aprs
Diffstat (limited to 'src/micropeak/ao_report_tiny.c')
-rw-r--r-- | src/micropeak/ao_report_tiny.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/micropeak/ao_report_tiny.c b/src/micropeak/ao_report_tiny.c index 109af1ed..0e8e287f 100644 --- a/src/micropeak/ao_report_tiny.c +++ b/src/micropeak/ao_report_tiny.c @@ -24,7 +24,7 @@ static void ao_report_digit(uint8_t digit) __reentrant { if (!digit) { - mid(AO_MS_TO_TICKS(600)); + mid(AO_MS_TO_TICKS(1000)); pause(AO_MS_TO_TICKS(300)); } else { while (digit--) { @@ -32,14 +32,14 @@ ao_report_digit(uint8_t digit) __reentrant pause(AO_MS_TO_TICKS(300)); } } - pause(AO_MS_TO_TICKS(600)); + 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) |