Skip to content

Commit c44d255

Browse files
committed
Update ETH_TLK110.ino
1 parent 43e0564 commit c44d255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Ethernet/examples/ETH_TLK110/ETH_TLK110.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void testClient(const char * host, uint16_t port)
7474
void setup()
7575
{
7676
Serial.begin(115200);
77-
WiFi.onEvent(WiFiEvent); // Will call WiFiEvent() from another thread.
77+
Network.onEvent(onEvent); // Will call onEvent() from another thread.
7878
ETH.begin(ETH_PHY_TYPE, ETH_PHY_ADDR, ETH_PHY_MDC, ETH_PHY_MDIO, ETH_PHY_POWER, ETH_CLK_MODE);
7979
}
8080

0 commit comments

Comments
 (0)