mirror of
https://github.com/AlexGyver/GyverLamp2.git
synced 2025-08-07 08:40:35 +03:00
update http ota update api
This commit is contained in:
@@ -87,7 +87,8 @@ void parsing() {
|
||||
DEBUG("Update to ");
|
||||
DEBUGLN(OTA);
|
||||
delay(100);
|
||||
ESPhttpUpdate.update(OTA);
|
||||
WiFiClient client;
|
||||
ESPhttpUpdate.update(client, OTA);
|
||||
} break;
|
||||
case 13: // выключить через
|
||||
if (data[3] == 0) turnoffTmr.stop();
|
||||
|
Reference in New Issue
Block a user