Skip to content

Commit 144f116

Browse files
committed
Update ETH.cpp
1 parent 0220417 commit 144f116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Ethernet/src/ETH.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ bool ETHClass::begin(uint8_t phy_addr, int power, int mdc, int mdio, eth_phy_typ
341341
}
342342

343343
/* attach to WiFiGeneric to receive events */
344-
add_esp_interface_netif(ESP_IF_ETH, eth_netif);
344+
add_esp_interface_netif(ESP_IF_ETH, esp_netif);
345345

346346
if(esp_eth_start(eth_handle) != ESP_OK){
347347
log_e("esp_eth_start failed");

0 commit comments

Comments
 (0)