projects
/
fw
/
openalt
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
snapshot of my first "working" version from turn-on of Altus Metrum v0.1
[fw/openalt]
/
i2c
/
eeprom.h
diff --git
a/i2c/eeprom.h
b/i2c/eeprom.h
index bfd1412405aa57fcb655edfc8cb37de7ad38fc0a..e10ba8f024cac1240d8107636016879b804b4eb0 100644
(file)
--- a/
i2c/eeprom.h
+++ b/
i2c/eeprom.h
@@
-6,7
+6,11
@@
//
#define EEPROM_ADDRESS (0xa0)
#define EEPROM_SIZE (131072)
-#define EEPROM_PAGESIZE (256)
+#ifdef FC1025
+# define EEPROM_PAGESIZE (128)
+#else
+# define EEPROM_PAGESIZE (256)
+#endif
//
//