|
@@ -12,7 +12,11 @@
|
|
|
#include "freertos/FreeRTOS.h"
|
|
|
#include "freertos/task.h"
|
|
|
#include "freertos/event_groups.h"
|
|
|
+#if ESP_IDF_VERSION_MAJOR >= 5
|
|
|
+#include "esp_chip_info.h"
|
|
|
+#else
|
|
|
#include "esp_system.h"
|
|
|
+#endif
|
|
|
#include "esp_log.h"
|
|
|
#include "driver/gpio.h"
|
|
|
|