fix typos in WiFiSTA.cpp (#4396)

* fix typos

* made return value description a bit more helpful
This commit is contained in:
programminghoch10 2020-10-14 13:27:19 +02:00 committed by GitHub
parent b07f1c11fe
commit 18c3345451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,8 +224,8 @@ wl_status_t WiFiSTAClass::begin()
} }
/** /**
* will force a disconnect an then start reconnecting to AP * will force a disconnect and then start reconnecting to AP
* @return ok * @return true when successful
*/ */
bool WiFiSTAClass::reconnect() bool WiFiSTAClass::reconnect()
{ {
@ -337,7 +337,7 @@ bool WiFiSTAClass::config(IPAddress local_ip, IPAddress gateway, IPAddress subne
/** /**
* is STA interface connected? * is STA interface connected?
* @return true if STA is connected to an AD * @return true if STA is connected to an AP
*/ */
bool WiFiSTAClass::isConnected() bool WiFiSTAClass::isConnected()
{ {