mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Remove warning in crashrecorder
This commit is contained in:
parent
607f6322d7
commit
983d13efa3
@ -160,7 +160,11 @@ void CrashDumpClear(void)
|
|||||||
// esp_err_t IRAM_ATTR esp_backtrace_print(int depth)
|
// esp_err_t IRAM_ATTR esp_backtrace_print(int depth)
|
||||||
|
|
||||||
#include "freertos/xtensa_api.h"
|
#include "freertos/xtensa_api.h"
|
||||||
#include "esp_panic.h"
|
#if ESP_IDF_VERSION_MAJOR >= 4
|
||||||
|
#include "esp_debug_helpers.h"
|
||||||
|
#else // IDF 3.x
|
||||||
|
#include "esp_panic.h"
|
||||||
|
#endif
|
||||||
extern "C" {
|
extern "C" {
|
||||||
// esp-idf 3.x
|
// esp-idf 3.x
|
||||||
void __real_panicHandler(XtExcFrame *frame);
|
void __real_panicHandler(XtExcFrame *frame);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user