diff --git a/WiFi/WiFi.cpp b/WiFi/WiFi.cpp index 5e766e0f5..a7ccc2047 100755 --- a/WiFi/WiFi.cpp +++ b/WiFi/WiFi.cpp @@ -121,7 +121,7 @@ uint8_t* WiFiClass::macAddress(uint8_t* mac) return mac; } -IPAddress WiFiClass::localIp() +IPAddress WiFiClass::localIP() { IPAddress ret; WiFiDrv::getIpAddress(ret); diff --git a/WiFi/WiFi.h b/WiFi/WiFi.h index 738f6f256..27380b9d2 100755 --- a/WiFi/WiFi.h +++ b/WiFi/WiFi.h @@ -51,7 +51,7 @@ public: uint8_t* macAddress(uint8_t* mac); //Get the DHCP information related to IP - IPAddress localIp(); + IPAddress localIP(); //Get the DHCP information related to subnetMask IPAddress subnetMask();