diff --git a/networkDevices/EthLan8720Device.cpp b/networkDevices/EthLan8720Device.cpp index 95ea554..e511481 100644 --- a/networkDevices/EthLan8720Device.cpp +++ b/networkDevices/EthLan8720Device.cpp @@ -161,7 +161,7 @@ int8_t EthLan8720Device::signalStrength() String EthLan8720Device::localIP() { - return Ethernet.localIP().toString(); + return ETH.localIP().toString(); } void EthLan8720Device::mqttSetClientId(const char *clientId)