update http ota update api

This commit is contained in:
Aleksey
2021-07-12 18:15:56 +03:00
parent 80c3b5e7be
commit e54a812c56

View File

@@ -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();