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).
| 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). |
| 95 | ResetInfo 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 |
no outgoing calls
no test coverage detected