Skip to content

Commit

Permalink
removes deprecated esp_eth_set_default_handlers()
Browse files Browse the repository at this point in the history
  • Loading branch information
SuGlider committed Oct 23, 2021
1 parent 67c9914 commit 2673b88
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libraries/WiFi/src/ETH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 2673b88

Please sign in to comment.