Update ResetReason.ino

This commit is contained in:
me-no-dev
2020-05-12 01:10:54 +03:00
parent bcae3a4def
commit d3c5f26fa4

View File

@ -15,6 +15,8 @@
#ifdef ESP_IDF_VERSION_MAJOR // IDF 4+
#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
#include "esp32/rom/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32S2
#include "esp32s2/rom/rtc.h"
#else
#error Target CONFIG_IDF_TARGET is not supported
#endif