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

◆ bootGuardDecodeCrashes()

FL_ALWAYS_INLINE fl::u32 fl::bootGuardDecodeCrashes ( const volatile BootGuardRecord & r,
fl::u32 image )

Crash count stored in r, or 0 if r is not a valid record of image.

Definition at line 47 of file boot_guard_record.h.

48 {
49 return bootGuardValid(r, image) ? r.crashes : 0;
50}
FL_ALWAYS_INLINE bool bootGuardValid(const volatile BootGuardRecord &r, fl::u32 image)
True when r holds a valid record written by firmware image.

References bootGuardValid(), fl::BootGuardRecord::crashes, and FL_ALWAYS_INLINE.

Referenced by bootGuardEncode().

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