mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 13:02:21 +02:00
esp_netif: extract wifi_netif module as an abstraction to wifi universal interface defined by if handle and callback
* Original commit: espressif/esp-idf@20add7da60
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
d1c62628b8
commit
573855031d
@ -137,7 +137,8 @@ static void start(void)
|
|||||||
|
|
||||||
assert(netif);
|
assert(netif);
|
||||||
|
|
||||||
esp_wifi_set_default_wifi_driver_and_handlers(ESP_IF_WIFI_STA, netif);
|
esp_netif_attach_wifi_station(netif);
|
||||||
|
esp_wifi_set_default_wifi_sta_handlers();
|
||||||
|
|
||||||
s_example_esp_netif = netif;
|
s_example_esp_netif = netif;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user