ESPHome 2026.9.1
Loading...
Searching...
No Matches
crash_handler.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef USE_ESP32_CRASH_HANDLER
4
5namespace esphome::esp32 {
6
9
13
16
17} // namespace esphome::esp32
18
19#endif // USE_ESP32_CRASH_HANDLER
bool crash_handler_has_data()
Returns true if crash data was found this boot, reading it first if needed.
void crash_handler_log()
Log crash data if a crash was detected on previous boot.
void crash_handler_clear()
Clear the magic marker and mark crash data as consumed.