ESPHome 2026.5.0-dev
Loading...
Searching...
No Matches
crash_handler.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef USE_ESP8266
4
6
7#ifdef USE_ESP8266_CRASH_HANDLER
8
9namespace esphome::esp8266 {
10
13
16
17} // namespace esphome::esp8266
18
19#endif // USE_ESP8266_CRASH_HANDLER
20#endif // USE_ESP8266
bool crash_handler_has_data()
Returns true if the previous boot was a crash (exception, WDT, or soft WDT).
void crash_handler_log()
Log crash data if a crash was detected on previous boot.