mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-22 23:07:28 +02:00
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:
committed by
suren-gabrielyan-espressif
parent
879a6cdfa3
commit
dfcefc38fd
@ -186,7 +186,7 @@ static void mdns_example_task(void *pvParameters)
|
||||
void app_main(void)
|
||||
{
|
||||
ESP_ERROR_CHECK(nvs_flash_init());
|
||||
tcpip_adapter_init();
|
||||
ESP_ERROR_CHECK(esp_netif_init());
|
||||
ESP_ERROR_CHECK(esp_event_loop_create_default());
|
||||
|
||||
initialise_mdns();
|
||||
|
Reference in New Issue
Block a user