|
@@ -24,7 +24,7 @@
|
24
|
24
|
|
25
|
25
|
#include "../../inc/MarlinConfig.h"
|
26
|
26
|
|
27
|
|
-#if ENABLED(EEPROM_SETTINGS) && DISABLED(FLASH_EEPROM_EMULATION)
|
|
27
|
+#if USE_WIRED_EEPROM
|
28
|
28
|
|
29
|
29
|
#include "../shared/eeprom_api.h"
|
30
|
30
|
#include <EEPROM.h>
|
|
@@ -59,5 +59,5 @@ bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t
|
59
|
59
|
|
60
|
60
|
size_t PersistentStore::capacity() { return EEPROM_SIZE; }
|
61
|
61
|
|
62
|
|
-#endif // EEPROM_SETTINGS
|
|
62
|
+#endif // USE_WIRED_EEPROM
|
63
|
63
|
#endif // ARDUINO_ARCH_ESP32
|