FastLED 3.10.8
Loading...
Searching...
No Matches

◆ markBootHealthy()

void fl::Watchdog::markBootHealthy ( )

Tell the early-boot guard this boot is healthy, zeroing its counter.

Call once the firmware is known good (e.g. first loop()), so later watchdog resets never accumulate toward a bootloader escape. If the sketch never took over the watchdog with begin(), this also disables the guard's early timer, so it cannot reset a healthy sketch. No-op on platforms without boot-guard storage.

Definition at line 136 of file watchdog.cpp.hpp.

136 {
139}
void watchdogBootGuardReleaseEarlyTimer() FL_NO_EXCEPT
Disable the boot guard's early watchdog timer if it is still running and the sketch never armed the w...
void watchdogBootGuardWrite(fl::u32 boots) FL_NO_EXCEPT

References fl::FL_NO_EXCEPT, fl::platforms::watchdogBootGuardReleaseEarlyTimer(), and fl::platforms::watchdogBootGuardWrite().

Referenced by setSafeModeThreshold().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: