diff options
Diffstat (limited to '')
| -rw-r--r-- | spaghetti-monster/fsm-eeprom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-eeprom.c b/spaghetti-monster/fsm-eeprom.c index bb63c7e..277e2b2 100644 --- a/spaghetti-monster/fsm-eeprom.c +++ b/spaghetti-monster/fsm-eeprom.c @@ -22,7 +22,7 @@ #include "fsm-eeprom.h" -#if EEPROM_BYTES > 0 +#ifdef USE_EEPROM #ifdef EEPROM_OVERRIDE uint8_t *eeprom; #else @@ -57,7 +57,7 @@ void save_eeprom() { } #endif -#if EEPROM_WL_BYTES > 0 +#ifdef USE_EEPROM_WL uint8_t eeprom_wl[EEPROM_WL_BYTES]; EEP_OFFSET_T eep_wl_prev_offset; |
