diff options
author | Keith Packard <keithp@keithp.com> | 2011-07-06 15:37:15 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-06 15:48:34 -0700 |
commit | 002f167fc2709aaf1a4984aaa0a3519a97749d5f (patch) | |
tree | 0e833d0471f1b9ce2c9aa15354b709c408e91ed6 /src | |
parent | 5203ddaac692bfd82a01368da9fb66c25e9e14c1 (diff) |
altos: Switch ao_report.c __xdata to __pdata
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ao_report.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ao_report.c b/src/ao_report.c index b9dc5bb4..3cf558e1 100644 --- a/src/ao_report.c +++ b/src/ao_report.c @@ -48,7 +48,7 @@ static const uint8_t flight_reports[] = { #endif #define pause(time) ao_delay(time) -static __xdata enum ao_flight_state ao_report_state; +static __pdata enum ao_flight_state ao_report_state; static void ao_report_beep(void) __reentrant @@ -87,9 +87,9 @@ ao_report_digit(uint8_t digit) __reentrant static void ao_report_altitude(void) { - __xdata int16_t agl = ao_max_height; + __pdata int16_t agl = ao_max_height; __xdata uint8_t digits[10]; - __xdata uint8_t ndigits, i; + __pdata uint8_t ndigits, i; if (agl < 0) agl = 0; |