From c17062e1e8761b65f636c5d92850766c31091780 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Thu, 17 Mar 2022 15:27:09 +0100 Subject: [PATCH] Changes needed to compile again with new idf --- src/espwifistack.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/espwifistack.cpp b/src/espwifistack.cpp index eacdf41..7016795 100644 --- a/src/espwifistack.cpp +++ b/src/espwifistack.cpp @@ -2661,13 +2661,6 @@ tl::expected eth_begin(const config &config, const eth_config { eth_clock_mode = eth.clk_mode; - if (const auto result = tcpip_adapter_set_default_eth_handlers(); result != ESP_OK) - { - auto msg = fmt::format("tcpip_adapter_set_default_eth_handlers() failed with {}", esp_err_to_name(result)); - ESP_LOGE(TAG, "%.*s", msg.size(), msg.data()); - return tl::make_unexpected(std::move(msg)); - } - esp_netif_config_t cfg ESP_NETIF_DEFAULT_ETH(); esp_netifs[ESP_IF_ETH] = esp_netif_new(&cfg);