Skip to content

Commit 3fcdc0e

Browse files
authored
Add generic IP utilities | typo correction
1 parent a5b84cf commit 3fcdc0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/WiFi/src/WiFiSTA.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,9 @@ IPAddress WiFiSTAClass::broadcastIP()
508508

509509
/**
510510
* Get the network id.
511-
* @return IPAddress netwrokID
511+
* @return IPAddress networkID
512512
*/
513-
IPAddress WiFiSTAClass::netwrokID()
513+
IPAddress WiFiSTAClass::networkID()
514514
{
515515
if(WiFiGenericClass::getMode() == WIFI_MODE_NULL){
516516
return IPAddress();
@@ -522,7 +522,7 @@ IPAddress WiFiSTAClass::netwrokID()
522522

523523
/**
524524
* Get the network id.
525-
* @return uint8_t netwrokID
525+
* @return uint8_t subnetCIDR
526526
*/
527527
uint8_t WiFiSTAClass::subnetCIDR()
528528
{

0 commit comments

Comments
 (0)