mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-20 07:56:58 +00:00
ESPNOW + WiFi
This commit is contained in:
@@ -157,7 +157,7 @@ void wifi_init()
|
|||||||
/*
|
/*
|
||||||
* WI-FI
|
* WI-FI
|
||||||
*/
|
*/
|
||||||
ESP_ERROR_CHECK(esp_netif_init());
|
ESP_ERROR_CHECK(esp_netif_init());
|
||||||
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
||||||
esp_netif_create_default_wifi_sta();
|
esp_netif_create_default_wifi_sta();
|
||||||
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