summaryrefslogtreecommitdiff
path: root/src/ao_report.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ao_report.c')
-rw-r--r--src/ao_report.c6
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;