Skip to content

Commit 067f686

Browse files
committed
WiFi make begin() blocking by default
1 parent 6452f1e commit 067f686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SocketWrapper/WiFi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class WiFiClass: public NetworkInterface
1616
WiFiClass() {}
1717
~WiFiClass() {}
1818

19-
bool begin(const char* ssid, const char* passphrase, wl_enc_type security = ENC_TYPE_UNKNOWN, bool blocking = false) {
19+
bool begin(const char* ssid, const char* passphrase, wl_enc_type security = ENC_TYPE_UNKNOWN, bool blocking = true) {
2020
sta_iface = net_if_get_wifi_sta();
2121
netif = sta_iface;
2222
sta_config.ssid = (const uint8_t *)ssid;

0 commit comments

Comments
 (0)