File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
#pragma once
7
7
8
+ #include " sdkconfig.h"
8
9
#include " soc/soc_caps.h"
9
10
#include " esp_err.h"
10
11
#include " esp_event.h"
11
12
#include " esp_netif_types.h"
13
+ #if CONFIG_ETH_ENABLED
12
14
#include " esp_eth_driver.h"
15
+ #endif
13
16
#include < functional>
14
17
#include " freertos/FreeRTOS.h"
15
18
#include " freertos/task.h"
16
19
#include " freertos/queue.h"
17
20
#include " freertos/semphr.h"
18
21
#include " freertos/event_groups.h"
19
- #include " sdkconfig.h"
20
22
#if defined NETWORK_EVENTS_MUTEX && SOC_CPU_CORES_NUM > 1
21
23
#include < mutex>
22
24
#endif // defined NETWORK_EVENTS_MUTEX && SOC_CPU_CORES_NUM > 1
@@ -98,7 +100,9 @@ typedef union {
98
100
ip_event_ap_staipassigned_t wifi_ap_staipassigned;
99
101
ip_event_got_ip_t got_ip;
100
102
ip_event_got_ip6_t got_ip6;
103
+ #if CONFIG_ETH_ENABLED
101
104
esp_eth_handle_t eth_connected;
105
+ #endif
102
106
#if SOC_WIFI_SUPPORTED || CONFIG_ESP_WIFI_REMOTE_ENABLED
103
107
wifi_event_sta_scan_done_t wifi_scan_done;
104
108
wifi_event_sta_authmode_change_t wifi_sta_authmode_change;
You can’t perform that action at this time.
0 commit comments