We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3cba5 commit e56d9f9Copy full SHA for e56d9f9
libraries/WiFi/src/WiFi.cpp
@@ -32,7 +32,8 @@ int CWifi::begin(const char* ssid) {
32
int CWifi::begin(const char* ssid, const char *passphrase) {
33
/* -------------------------------------------------------------------------- */
34
WiFiStation.connectToAP(ssid, passphrase);
35
- return WiFiStation.begin();;
+ WiFiStation.begin();
36
+ return WiFiStation.status();
37
}
38
39
/* passphrase is needed so a default one will be set */
0 commit comments