From 06c06705dd55d8fdd851251b664dfb44bd8d2cb4 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 15 Jul 2020 16:09:32 +0200 Subject: [PATCH] Fix minimal binary fast reboot issue --- tasmota/tasmota.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index 6dfcb2548..bf669aed5 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -211,7 +211,11 @@ void setup(void) { if (!RtcRebootValid()) { RtcReboot.fast_reboot_count = 0; } +#ifdef FIRMWARE_MINIMAL + RtcReboot.fast_reboot_count = 0; // Disable fast reboot and quick power cycle detection +#else RtcReboot.fast_reboot_count++; +#endif RtcRebootSave(); Serial.begin(APP_BAUDRATE);