mirror of https://github.com/arendst/Tasmota.git
Merge pull request #4076 from ascillato/patch-2
Fix Bug for OTA URL if using core STAGE (2.5.0)
This commit is contained in:
commit
45f209810e
|
@ -2043,7 +2043,8 @@ void Every250mSeconds()
|
|||
ota_result = (HTTP_UPDATE_FAILED != ESPhttpUpdate.update(mqtt_data));
|
||||
#else
|
||||
// If using core stage or 2.5.0+ the syntax has changed
|
||||
ota_result = (HTTP_UPDATE_FAILED != ESPhttpUpdate.update(EspClient, mqtt_data));
|
||||
WiFiClient OTAclient;
|
||||
ota_result = (HTTP_UPDATE_FAILED != ESPhttpUpdate.update(OTAclient, mqtt_data));
|
||||
#endif
|
||||
if (!ota_result) {
|
||||
#ifndef BE_MINIMAL
|
||||
|
|
Loading…
Reference in New Issue