examples: protocol examples which use common connection component

updated to use esp_netif_init instead of tcpip_adapter in initialization code


* Original commit: espressif/esp-idf@a49b934ef8
This commit is contained in:
David Cermak
2019-08-31 16:19:21 +02:00
committed by suren-gabrielyan-espressif
parent 879a6cdfa3
commit dfcefc38fd

View File

@ -186,7 +186,7 @@ static void mdns_example_task(void *pvParameters)
void app_main(void) void app_main(void)
{ {
ESP_ERROR_CHECK(nvs_flash_init()); ESP_ERROR_CHECK(nvs_flash_init());
tcpip_adapter_init(); ESP_ERROR_CHECK(esp_netif_init());
ESP_ERROR_CHECK(esp_event_loop_create_default()); ESP_ERROR_CHECK(esp_event_loop_create_default());
initialise_mdns(); initialise_mdns();