File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 55 */
66#pragma once
77
8+ #include " sdkconfig.h"
89#include " soc/soc_caps.h"
910#include " esp_err.h"
1011#include " esp_event.h"
1112#include " esp_netif_types.h"
13+ #if CONFIG_ETH_ENABLED
1214#include " esp_eth_driver.h"
15+ #endif
1316#include < functional>
1417#include " freertos/FreeRTOS.h"
1518#include " freertos/task.h"
1619#include " freertos/queue.h"
1720#include " freertos/semphr.h"
1821#include " freertos/event_groups.h"
19- #include " sdkconfig.h"
2022#if defined NETWORK_EVENTS_MUTEX && SOC_CPU_CORES_NUM > 1
2123#include < mutex>
2224#endif // defined NETWORK_EVENTS_MUTEX && SOC_CPU_CORES_NUM > 1
@@ -98,7 +100,9 @@ typedef union {
98100 ip_event_ap_staipassigned_t wifi_ap_staipassigned;
99101 ip_event_got_ip_t got_ip;
100102 ip_event_got_ip6_t got_ip6;
103+ #if CONFIG_ETH_ENABLED
101104 esp_eth_handle_t eth_connected;
105+ #endif
102106#if SOC_WIFI_SUPPORTED || CONFIG_ESP_WIFI_REMOTE_ENABLED
103107 wifi_event_sta_scan_done_t wifi_scan_done;
104108 wifi_event_sta_authmode_change_t wifi_sta_authmode_change;
You can’t perform that action at this time.
0 commit comments