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

◆ bootGuardCount()

fl::u32 fl::Watchdog::bootGuardCount ( ) const

Early-boot loop guard counter (see fl/wdt/boot_guard.h): consecutive boots since the last markBootHealthy(), kept in reset-persistent memory.

0 on platforms without boot-guard storage.

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

132 {
134}
fl::u32 watchdogBootGuardRead() FL_NO_EXCEPT
Boot-guard counter storage, supplied by the platform watchdog impl (or the no-op).

References fl::FL_NO_EXCEPT, and fl::platforms::watchdogBootGuardRead().

Referenced by setSafeModeThreshold().

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