altos: Switch ao_ignite and ao_gps_sirf __xdata to __pdata
authorKeith Packard <keithp@keithp.com>
Wed, 6 Jul 2011 22:33:52 +0000 (15:33 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 6 Jul 2011 22:48:34 +0000 (15:48 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_ignite.c

index 8ef83da..e1b91be 100644 (file)
@@ -58,8 +58,8 @@ enum ao_igniter_status
 ao_igniter_status(enum ao_igniter igniter)
 {
        __xdata struct ao_adc adc;
-       __xdata int16_t value;
-       __xdata uint8_t request, firing, fired;
+       __pdata int16_t value;
+       __pdata uint8_t request, firing, fired;
 
        __critical {
                ao_adc_get(&adc);
@@ -143,7 +143,7 @@ ao_ignite_manual(void)
        }
 }
 
-static __code char *igniter_status_names[] = {
+static __code char * __code igniter_status_names[] = {
        "unknown", "ready", "active", "open"
 };