mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 04:34:31 +02:00
Minor bugfix in wpa2_enterprise_example
This commit is contained in:
committed by
Jiang Jiang Jian
parent
0855fba8a6
commit
cde8df7887
@@ -107,7 +107,7 @@ static void initialise_wifi(void)
|
|||||||
esp_netif_init();
|
esp_netif_init();
|
||||||
wifi_event_group = xEventGroupCreate();
|
wifi_event_group = xEventGroupCreate();
|
||||||
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
||||||
esp_netif_t *sta_netif = esp_netif_create_default_wifi_sta();
|
sta_netif = esp_netif_create_default_wifi_sta();
|
||||||
assert(sta_netif);
|
assert(sta_netif);
|
||||||
|
|
||||||
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
|
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
|
||||||
|
Reference in New Issue
Block a user