MCPcopy Create free account
hub / github.com/FastLED/FastLED / lastResetInfo

Method lastResetInfo

src/fl/wdt/watchdog.cpp.hpp:95–101  ·  view source on GitHub ↗

Default: lift the normalized cause into a ResetInfo, leaving subcauseId/rawRegister at 0. Per-platform richer extraction will be wired through a follow-up to issue #2755 (every backend uses this default for now).

Source from the content-addressed store, hash-verified

93// subcauseId/rawRegister at 0. Per-platform richer extraction will be wired
94// through a follow-up to issue #2755 (every backend uses this default for now).
95ResetInfo Watchdog::lastResetInfo() const FL_NOEXCEPT {
96 ResetInfo info{};
97 info.cause = lastResetCause();
98 info.subcauseId = 0;
99 info.rawRegister = 0;
100 return info;
101}
102
103// =============================================================================
104// ScopedWatchdog

Callers 2

scopedWatchdogFirstInitFunction · 0.80
watchdog.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected