From d136c20551132558bc2850f5c13c2d59b1e0fe91 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 11 May 2022 10:41:32 +0200 Subject: [PATCH] Fix possible ota_loader mismatch --- tasmota/support_tasmota.ino | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tasmota/support_tasmota.ino b/tasmota/support_tasmota.ino index 0ea18563f..171f70d6d 100644 --- a/tasmota/support_tasmota.ino +++ b/tasmota/support_tasmota.ino @@ -1419,19 +1419,16 @@ void Every250mSeconds(void) case 3: // Every x.75 second if (!TasmotaGlobal.global_state.network_down) { #ifdef FIRMWARE_MINIMAL - #ifdef CONFIG_IDF_TARGET_ESP32C3 if (OtaFactoryRead()) { OtaFactoryWrite(false); TasmotaGlobal.ota_state_flag = 3; } -#else +#endif if (1 == RtcSettings.ota_loader) { RtcSettings.ota_loader = 0; TasmotaGlobal.ota_state_flag = 3; } -#endif - #endif // FIRMWARE_MINIMAL #ifdef USE_DISCOVERY