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