summaryrefslogtreecommitdiff
path: root/ao_log.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-15 14:25:26 -0700
committerKeith Packard <keithp@keithp.com>2009-04-15 14:25:26 -0700
commit5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0 (patch)
tree32ffa2e32102e94355ed6172662143a31259a2e6 /ao_log.c
parent4d1091d9bd121f05f5fe0a9c9d2bc0da8c562b9a (diff)
Move a bunch of variables from __data to __xdata
Diffstat (limited to 'ao_log.c')
-rw-r--r--ao_log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ao_log.c b/ao_log.c
index 112ea510..65196ae2 100644
--- a/ao_log.c
+++ b/ao_log.c
@@ -61,8 +61,8 @@ ao_log_flush(void)
}
__xdata struct ao_log_record ao_log_dump;
-static __data uint16_t ao_log_dump_flight;
-static __data uint32_t ao_log_dump_pos;
+static __xdata uint16_t ao_log_dump_flight;
+static __xdata uint32_t ao_log_dump_pos;
static uint8_t
ao_log_dump_check_data(void)
@@ -107,8 +107,8 @@ ao_log_dump_next(void)
return ao_log_dump_check_data();
}
-uint8_t ao_log_adc_pos;
-enum flight_state ao_log_state;
+__xdata uint8_t ao_log_adc_pos;
+__xdata enum flight_state ao_log_state;
void
ao_log(void)