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 9326750 commit cb0ef74Copy full SHA for cb0ef74
libraries/SocketWrapper/WiFi.h
@@ -18,7 +18,7 @@ class WiFiClass : public NetworkInterface {
18
}
19
20
bool begin(const char *ssid, const char *passphrase, wl_enc_type security = ENC_TYPE_UNKNOWN,
21
- bool blocking = false) {
+ bool blocking = true) {
22
sta_iface = net_if_get_wifi_sta();
23
netif = sta_iface;
24
sta_config.ssid = (const uint8_t *)ssid;
@@ -47,7 +47,7 @@ class WiFiClass : public NetworkInterface {
47
48
49
bool beginAP(char *ssid, char *passphrase, int channel = WIFI_CHANNEL_ANY,
50
51
if (ap_iface != NULL) {
52
return false;
53
0 commit comments