kopia lustrzana https://github.com/Aircoookie/WLED
Fix for missing string in OTA
rodzic
4739cfab9a
commit
6435cb1466
|
@ -364,9 +364,8 @@ void initServer()
|
||||||
|
|
||||||
createEditHandler(correctPIN);
|
createEditHandler(correctPIN);
|
||||||
|
|
||||||
#ifndef WLED_DISABLE_OTA
|
|
||||||
static const char _update[] PROGMEM = "/update";
|
static const char _update[] PROGMEM = "/update";
|
||||||
|
#ifndef WLED_DISABLE_OTA
|
||||||
//init ota page
|
//init ota page
|
||||||
server.on(_update, HTTP_GET, [](AsyncWebServerRequest *request){
|
server.on(_update, HTTP_GET, [](AsyncWebServerRequest *request){
|
||||||
if (otaLock) {
|
if (otaLock) {
|
||||||
|
|
Ładowanie…
Reference in New Issue