Skip to content

Commit 18c3345

Browse files
fix typos in WiFiSTA.cpp (#4396)
* fix typos * made return value description a bit more helpful
1 parent b07f1c1 commit 18c3345

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: libraries/WiFi/src/WiFiSTA.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ wl_status_t WiFiSTAClass::begin()
224224
}
225225

226226
/**
227-
* will force a disconnect an then start reconnecting to AP
228-
* @return ok
227+
* will force a disconnect and then start reconnecting to AP
228+
* @return true when successful
229229
*/
230230
bool WiFiSTAClass::reconnect()
231231
{
@@ -337,7 +337,7 @@ bool WiFiSTAClass::config(IPAddress local_ip, IPAddress gateway, IPAddress subne
337337

338338
/**
339339
* is STA interface connected?
340-
* @return true if STA is connected to an AD
340+
* @return true if STA is connected to an AP
341341
*/
342342
bool WiFiSTAClass::isConnected()
343343
{

0 commit comments

Comments
 (0)