aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-eeprom.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-08-22 23:47:46 -0600
committerSelene ToyKeeper2018-08-22 23:47:46 -0600
commite417f82a1f4cb5e738cd1cf71c81ab73d84b1902 (patch)
tree750f9763d723a443fcb008f5fa925e309ab1e33e /spaghetti-monster/fsm-eeprom.h
parentmerged from trunk (diff)
parentmerged in zeroflow's fixes and my related changes: (diff)
downloadanduril-e417f82a1f4cb5e738cd1cf71c81ab73d84b1902.tar.gz
anduril-e417f82a1f4cb5e738cd1cf71c81ab73d84b1902.tar.bz2
anduril-e417f82a1f4cb5e738cd1cf71c81ab73d84b1902.zip
merged trunk, including zeroflow's fixes and my related changes
Diffstat (limited to 'spaghetti-monster/fsm-eeprom.h')
-rw-r--r--spaghetti-monster/fsm-eeprom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-eeprom.h b/spaghetti-monster/fsm-eeprom.h
index a668588..3621106 100644
--- a/spaghetti-monster/fsm-eeprom.h
+++ b/spaghetti-monster/fsm-eeprom.h
@@ -32,7 +32,7 @@
#define EEPROM_WL_BYTES 0
#endif
-#if EEPROM_BYTES > 0
+#ifdef USE_EEPROM
#if EEPROM_BYTES >= (EEPSIZE/2)
#error Requested EEPROM_BYTES too big.
#endif
@@ -46,7 +46,7 @@ void save_eeprom();
#define EEP_START (EEPSIZE/2)
#endif
-#if EEPROM_WL_BYTES > 0
+#ifdef USE_EEPROM_WL
#if EEPROM_WL_BYTES >= (EEPSIZE/4)
#error Requested EEPROM_WL_BYTES too big.
#endif