OTA + Fixes for varius small things including web server
This commit is contained in:
parent
2c73bbc1eb
commit
167a4e3811
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
||||||
#include "SPIFFS.h"
|
#include "SPIFFS.h"
|
||||||
#include <AsyncJson.h>
|
#include <AsyncJson.h>
|
||||||
#ifdef WEB_OTA_UPDATE
|
#ifdef WEB_OTA_UPDATE
|
||||||
#include <AsyncElegantOTA.h>
|
#include <ElegantOTA.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "mainwebserver.h"
|
#include "mainwebserver.h"
|
||||||
|
|
|
@ -181,7 +181,7 @@ void setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WEB_OTA_UPDATE
|
#ifdef WEB_OTA_UPDATE
|
||||||
AsyncElegantOTA.begin(&server, http_username, http_password);
|
ElegantOTA.begin(&server, http_username, http_password);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue