mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 14:57:16 +00:00
Fix minimal binary fast reboot issue
This commit is contained in:
parent
6f52b0f7cc
commit
06c06705dd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user