Remove support for ESP-IDF version < 4 (#5261)
This commit is contained in:
1 parent
2b4ed0c273
commit
0af8d0b7ea
7 files changed
+3
-129
No files matched your search
@@ -12,12 +12,8 @@
|
||||
#include <esp_heap_caps.h>
|
||||
#include <esp_system.h>
|
||||
|
||||
#if ESP_IDF_VERSION_MAJOR >= 4
|
||||
#include <esp32/rom/rtc.h>
|
||||
#include <esp_chip_info.h>
|
||||
#else
|
||||
#include <rom/rtc.h>
|
||||
#endif
|
||||
|
||||
#endif // USE_ESP32
|
||||
|
||||
|
||||
Reference in new issue
Block a user