1
0
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:
Jimmy Hedman
2023-08-17 22:02:57 +02:00
committed by GitHub
parent 2b4ed0c273
commit 0af8d0b7ea
7 changed files with 3 additions and 129 deletions

View File

@@ -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