Start using pdata area for less-frequently used data
[fw/altos] / ao_ee.c
diff --git a/ao_ee.c b/ao_ee.c
index 8dbb5e8368f02db1d75103ccde3f46a5364cccb6..ea127c12e4a6cb917de7f7e50ac9f79153c7db92 100644 (file)
--- a/ao_ee.c
+++ b/ao_ee.c
@@ -170,9 +170,9 @@ ao_ee_wrsr(uint8_t status)
 
 #define EE_BLOCK_NONE  0xffff
 
-__xdata uint8_t ao_ee_data[EE_BLOCK];
-__data uint16_t ao_ee_block = EE_BLOCK_NONE;
-__data uint8_t ao_ee_block_dirty;
+static __xdata uint8_t ao_ee_data[EE_BLOCK];
+static __pdata uint16_t ao_ee_block = EE_BLOCK_NONE;
+static __pdata uint8_t ao_ee_block_dirty;
 
 /* Write the current block to the EEPROM */
 static void