MCPcopy Index your code
hub / github.com/crosspoint-reader/crosspoint-reader / isRebootFromPanic

Function isRebootFromPanic

lib/hal/HalSystem.cpp:143–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143bool isRebootFromPanic() {
144 const auto resetReason = esp_reset_reason();
145 return resetReason == ESP_RST_PANIC || resetReason == ESP_RST_CPU_LOCKUP;
146}
147
148} // namespace HalSystem

Callers 3

beginFunction · 0.85
checkPanicFunction · 0.85
setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected