mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Add Propagating upload to ESP8266 minimal
This commit is contained in:
parent
e2fdf18625
commit
990a0e4257
@ -1618,12 +1618,12 @@ void Every250mSeconds(void)
|
|||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
if (OtaFactoryRead()) {
|
if (OtaFactoryRead()) {
|
||||||
OtaFactoryWrite(false);
|
OtaFactoryWrite(false);
|
||||||
TasmotaGlobal.ota_state_flag = 3;
|
RtcSettings.ota_loader = 1;
|
||||||
AddLog(LOG_LEVEL_DEBUG, PSTR("OTA: Propagating upload"));
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (1 == RtcSettings.ota_loader) {
|
if (1 == RtcSettings.ota_loader) {
|
||||||
RtcSettings.ota_loader = 0;
|
RtcSettings.ota_loader = 0;
|
||||||
|
AddLog(LOG_LEVEL_DEBUG, PSTR("OTA: Propagating upload"));
|
||||||
TasmotaGlobal.ota_state_flag = 3;
|
TasmotaGlobal.ota_state_flag = 3;
|
||||||
}
|
}
|
||||||
#endif // FIRMWARE_MINIMAL
|
#endif // FIRMWARE_MINIMAL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user