diff --git a/tasmota/tasmota_support/support_tasmota.ino b/tasmota/tasmota_support/support_tasmota.ino index b614532df..d77d2945e 100644 --- a/tasmota/tasmota_support/support_tasmota.ino +++ b/tasmota/tasmota_support/support_tasmota.ino @@ -1618,12 +1618,12 @@ void Every250mSeconds(void) #ifdef ESP32 if (OtaFactoryRead()) { OtaFactoryWrite(false); - TasmotaGlobal.ota_state_flag = 3; - AddLog(LOG_LEVEL_DEBUG, PSTR("OTA: Propagating upload")); + RtcSettings.ota_loader = 1; } #endif if (1 == RtcSettings.ota_loader) { RtcSettings.ota_loader = 0; + AddLog(LOG_LEVEL_DEBUG, PSTR("OTA: Propagating upload")); TasmotaGlobal.ota_state_flag = 3; } #endif // FIRMWARE_MINIMAL