examples: protocol examples which use common connection component

updated to use esp_netif_init instead of tcpip_adapter in initialization code
This commit is contained in:
David Cermak
2019-08-31 16:19:21 +02:00
parent 21464465ea
commit a49b934ef8
32 changed files with 59 additions and 59 deletions

View File

@@ -122,7 +122,7 @@ static void http_get_task(void *pvParameters)
void app_main(void)
{
ESP_ERROR_CHECK( nvs_flash_init() );
tcpip_adapter_init();
esp_netif_init();
ESP_ERROR_CHECK(esp_event_loop_create_default());
/* This helper function configures Wi-Fi or Ethernet, as selected in menuconfig.