mirror of
https://github.com/wled/WLED.git
synced 2025-07-17 07:46:32 +00:00
Fix for missing string in OTA
This commit is contained in:
parent
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user