mirror of https://github.com/arendst/Tasmota.git
Fix Bug for OTA URL if using core STAGE (2.5.0)
This commit is contained in:
parent
f5eb2919bd
commit
adf3ed56bf
|
@ -2043,7 +2043,8 @@ void Every250mSeconds()
|
||||||
ota_result = (HTTP_UPDATE_FAILED != ESPhttpUpdate.update(mqtt_data));
|
ota_result = (HTTP_UPDATE_FAILED != ESPhttpUpdate.update(mqtt_data));
|
||||||
#else
|
#else
|
||||||
// If using core stage or 2.5.0+ the syntax has changed
|
// 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
|
#endif
|
||||||
if (!ota_result) {
|
if (!ota_result) {
|
||||||
#ifndef BE_MINIMAL
|
#ifndef BE_MINIMAL
|
||||||
|
|
Loading…
Reference in New Issue