mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +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()) {
|
if (!RtcRebootValid()) {
|
||||||
RtcReboot.fast_reboot_count = 0;
|
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++;
|
RtcReboot.fast_reboot_count++;
|
||||||
|
#endif
|
||||||
RtcRebootSave();
|
RtcRebootSave();
|
||||||
|
|
||||||
Serial.begin(APP_BAUDRATE);
|
Serial.begin(APP_BAUDRATE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user