From 002f167fc2709aaf1a4984aaa0a3519a97749d5f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 6 Jul 2011 15:37:15 -0700 Subject: [PATCH] altos: Switch ao_report.c __xdata to __pdata Signed-off-by: Keith Packard --- src/ao_report.c | 6 +++--- 1 file 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; -- 2.30.2