Skip to content

Commit 398482e

Browse files
committed
🔒 Disable broadcast of default unprotected network
1 parent bf39dc3 commit 398482e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp8266.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ void setupWiFi()
104104
Serial.print("[WiFi] Connecting to: ");
105105
Serial.println(WIFI_SSID);
106106

107+
WiFi.mode(WIFI_STA);
107108
WiFi.begin(WIFI_SSID, WIFI_PASS);
108109
while (WiFi.status() != WL_CONNECTED)
109110
{

0 commit comments

Comments
 (0)