mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
This commit is contained in:
@@ -80,7 +80,7 @@ void app_main(void)
|
||||
initialize_console();
|
||||
|
||||
ESP_ERROR_CHECK(nvs_flash_init());
|
||||
tcpip_adapter_init();
|
||||
esp_netif_init();
|
||||
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
||||
/* wait for active network connection */
|
||||
ESP_ERROR_CHECK(example_connect());
|
||||
|
Reference in New Issue
Block a user