mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-25 00:07:30 +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:
@ -90,7 +90,7 @@ void app_main(void)
|
||||
esp_log_level_set("TRANS_TCP", ESP_LOG_DEBUG);
|
||||
|
||||
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.
|
||||
|
Reference in New Issue
Block a user