X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao_ee.c;h=ea127c12e4a6cb917de7f7e50ac9f79153c7db92;hp=8dbb5e8368f02db1d75103ccde3f46a5364cccb6;hb=5be13b76a2e29b84cd6d1eec065e3354b0dafce5;hpb=3e18b5a0d4c7d84df98b6ed0b7783de1d42d45bf diff --git a/ao_ee.c b/ao_ee.c index 8dbb5e83..ea127c12 100644 --- 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