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