OTA + Fixes for varius small things including web server

This commit is contained in:
Matthew Frost 2024-03-24 00:01:26 +01:00
parent 2c73bbc1eb
commit 167a4e3811
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@
#include "SPIFFS.h"
#include <AsyncJson.h>
#ifdef WEB_OTA_UPDATE
#include <AsyncElegantOTA.h>
#include <ElegantOTA.h>
#endif
#include "mainwebserver.h"

View file

@ -181,7 +181,7 @@ void setup() {
}
#ifdef WEB_OTA_UPDATE
AsyncElegantOTA.begin(&server, http_username, http_password);
ElegantOTA.begin(&server, http_username, http_password);
#endif
#endif