From 990a0e4257b9d180d1ad70cd8da71ddaef7f91b1 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 21 Jul 2024 15:22:15 +0200 Subject: [PATCH] Add Propagating upload to ESP8266 minimal --- tasmota/tasmota_support/support_tasmota.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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