Loading cfg.json without wsec.json

Bugfix for BudOnOff.
This commit is contained in:
Blaz Kristan
2022-09-16 23:19:53 +02:00
parent a766ddbebc
commit cce54f3bb7
3 changed files with 6 additions and 8 deletions

View File

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