examples: modify other examples and tests to use esp_netif instead of tcpip_adapter

This commit is contained in:
David Cermak
2019-09-01 18:25:23 +02:00
parent 0eec84bc4f
commit b834c99148
24 changed files with 85 additions and 54 deletions

View File

@@ -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());