Fix for incorrectly placed release JSON buffer.

This commit is contained in:
Blaž Kristan 2021-12-10 17:06:04 +01:00
parent 094bdb29b6
commit 5dbc45ecb9

View File

@ -511,9 +511,9 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
}
}
usermods.readFromConfig(um); // force change of usermod parameters
}
releaseJSONBufferLock();
releaseJSONBufferLock();
}
if (subPage != 2 && (subPage != 6 || !doReboot)) serializeConfig(); //do not save if factory reset or LED settings (which are saved after LED re-init)
if (subPage == 4) alexaInit();