Fix for loading config without wsec.json

This commit is contained in:
Blaz Kristan 2022-09-16 22:00:26 +02:00
parent 26825ed60f
commit cf6005ce2f

View File

@ -540,8 +540,8 @@ void deserializeConfigFromFS() {
if (!success) { //if file does not exist, try reading from EEPROM if (!success) { //if file does not exist, try reading from EEPROM
#ifdef WLED_ADD_EEPROM_SUPPORT #ifdef WLED_ADD_EEPROM_SUPPORT
deEEPSettings(); deEEPSettings();
#endif
return; return;
#endif
} }
if (!requestJSONBufferLock(1)) return; if (!requestJSONBufferLock(1)) return;