Skip to content

Commit f371272

Browse files
fixup! WiFi make begin() blocking by default
1 parent 9b9e493 commit f371272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class WiFiClass: public NetworkInterface
4343
return status();
4444
}
4545

46-
int beginAP(char* ssid, char* passphrase, int channel = WIFI_CHANNEL_ANY, bool blocking = false) {
46+
int beginAP(char* ssid, char* passphrase, int channel = WIFI_CHANNEL_ANY, bool blocking = true) {
4747
if (ap_iface != NULL) {
4848
return false;
4949
}

0 commit comments

Comments
 (0)