From 2673b88582ae6fdacbe20b5d09f1fe8c619545c1 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Fri, 22 Oct 2021 21:56:14 -0300 Subject: [PATCH] removes deprecated esp_eth_set_default_handlers() --- libraries/WiFi/src/ETH.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libraries/WiFi/src/ETH.cpp b/libraries/WiFi/src/ETH.cpp index cb5ad7a8c59..f6a9174c1c1 100644 --- a/libraries/WiFi/src/ETH.cpp +++ b/libraries/WiFi/src/ETH.cpp @@ -237,12 +237,6 @@ bool ETHClass::begin(uint8_t phy_addr, int power, int mdc, int mdio, eth_phy_typ esp_netif_config_t cfg = ESP_NETIF_DEFAULT_ETH(); esp_netif_t *eth_netif = esp_netif_new(&cfg); - if(esp_eth_set_default_handlers(eth_netif) != ESP_OK){ - log_e("esp_eth_set_default_handlers failed"); - return false; - } - - esp_eth_mac_t *eth_mac = NULL; #if CONFIG_ETH_SPI_ETHERNET_DM9051 if(type == ETH_PHY_DM9051){