Sort out settings.load with SD EEPROM emulation (#14458)

This commit is contained in:
Tanguy Pruvot authored and Scott Lahteine committed 2019-07-01 09:10:17 -05:00
1 parent c9be936d4a
commit 108d0df565
6 files changed
+31 -15

No files matched your search

@@ -24,7 +24,7 @@
#include "../../inc/MarlinConfig.h"
#if ENABLED(EEPROM_SETTINGS) && DISABLED(FLASH_EEPROM_EMULATION)
#if ENABLED(SD_EEPROM_EMULATION)
#include "../shared/persistent_store_api.h"
@@ -102,5 +102,5 @@ bool PersistentStore::read_data(int &pos, uint8_t* value, size_t size, uint16_t
size_t PersistentStore::capacity() { return HAL_ESP32_EEPROM_SIZE; }
#endif // EEPROM_SETTINGS
#endif // SD_EEPROM_EMULATION
#endif // ARDUINO_ARCH_ESP32