Skip to content

Commit 2673b88

Browse files
committed
removes deprecated esp_eth_set_default_handlers()
1 parent 67c9914 commit 2673b88

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: libraries/WiFi/src/ETH.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,6 @@ bool ETHClass::begin(uint8_t phy_addr, int power, int mdc, int mdio, eth_phy_typ
237237
esp_netif_config_t cfg = ESP_NETIF_DEFAULT_ETH();
238238
esp_netif_t *eth_netif = esp_netif_new(&cfg);
239239

240-
if(esp_eth_set_default_handlers(eth_netif) != ESP_OK){
241-
log_e("esp_eth_set_default_handlers failed");
242-
return false;
243-
}
244-
245-
246240
esp_eth_mac_t *eth_mac = NULL;
247241
#if CONFIG_ETH_SPI_ETHERNET_DM9051
248242
if(type == ETH_PHY_DM9051){

0 commit comments

Comments
 (0)