Added HTTP OTA update via ESPAsyncWebServer

This commit is contained in:
cschwinne
2019-02-17 17:11:10 +01:00
parent 5694ff7c97
commit 2af6af2bf0
16 changed files with 66 additions and 2352 deletions

View File

@@ -282,7 +282,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
{
clearEEPROM();
serveMessage(request, 200, "All Settings erased.", "Connect to WLED-AP to setup again",255);
reset();
doReboot = true;
}
bool pwdCorrect = !otaLock; //always allow access if ota not locked