altos/stm: Make ao_eeprom_total a #define instead of a const variable
[fw/altos] / src / stm / ao_eeprom_stm.c
index d3e3338d9c94d7e1e961b29d7606b64193659a79..db4d6a49f0b5801b08ea1cb8f555cbe7c1960d3e 100644 (file)
@@ -20,7 +20,7 @@
 #include <ao_eeprom.h>
 
 /* Total bytes of available storage */
-const ao_pos_t ao_eeprom_total = 4096;
+#define ao_eeprom_total 4096
 
 /* Location of eeprom in address space */
 #define stm_eeprom     ((uint8_t *) 0x08080000)