mirror of https://github.com/arendst/Tasmota.git
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…
Reference in New Issue