mirror of
https://github.com/esphome/esphome.git
synced 2025-09-19 11:42:20 +01:00
Remove support for ESP-IDF version < 4 (#5261)
This commit is contained in:
@@ -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