fix esp8266 build fail

This commit is contained in:
Phat Nguyen
2024-05-10 09:16:22 +07:00
parent 279ccb8bfb
commit e3dee42b4b

View File

@ -124,7 +124,6 @@ void Configuration::loadConfig(void) {
for (int i = 0; i < EEPROM_CONFIG_SIZE; i++) { for (int i = 0; i < EEPROM_CONFIG_SIZE; i++) {
buf[i] = EEPROM.read(i); buf[i] = EEPROM.read(i);
} }
readSuccess = true;
#else #else
File file = SPIFFS.open(CONFIG_FILE_NAME); File file = SPIFFS.open(CONFIG_FILE_NAME);
if (file && !file.isDirectory()) { if (file && !file.isDirectory()) {