projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ao_gps_skytrac, ao_gps_ublox: Add explicit casts to quiet -Wconversion
[fw/altos]
/
src
/
stm
/
ao_eeprom_stm.c
diff --git
a/src/stm/ao_eeprom_stm.c
b/src/stm/ao_eeprom_stm.c
index d3e3338d9c94d7e1e961b29d7606b64193659a79..db4d6a49f0b5801b08ea1cb8f555cbe7c1960d3e 100644
(file)
--- a/
src/stm/ao_eeprom_stm.c
+++ b/
src/stm/ao_eeprom_stm.c
@@
-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)