From eb8985886d492603a4d745fba1426c44ee2bc3eb Mon Sep 17 00:00:00 2001 From: Bogdan Kolendovskyy Date: Thu, 15 Feb 2024 13:19:38 +0100 Subject: [PATCH] fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver to ensure availability of vTaskDelay --- components/esp_eth/src/esp_eth_phy_ip101.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_eth/src/esp_eth_phy_ip101.c b/components/esp_eth/src/esp_eth_phy_ip101.c index 78ae7a17e6..a32a3bffb6 100644 --- a/components/esp_eth/src/esp_eth_phy_ip101.c +++ b/components/esp_eth/src/esp_eth_phy_ip101.c @@ -8,6 +8,8 @@ #include #include "esp_log.h" #include "esp_check.h" +#include "freertos/FreeRTOS.h" +#include "freertos/task.h" #include "esp_eth_phy_802_3.h" static const char *TAG = "ip101";