From 167a4e38110a8b367590b5aec544ffc02f97bb2b Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Sun, 24 Mar 2024 00:01:26 +0100 Subject: [PATCH] OTA + Fixes for varius small things including web server --- include/main.h | 2 +- src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/main.h b/include/main.h index 4a5bc66..60434d5 100644 --- a/include/main.h +++ b/include/main.h @@ -33,7 +33,7 @@ #include "SPIFFS.h" #include #ifdef WEB_OTA_UPDATE - #include + #include #endif #include "mainwebserver.h" diff --git a/src/main.cpp b/src/main.cpp index 0cd7d89..5c65b0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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