Skip to content

Commit c27fd01

Browse files
committed
Make default AP mode open
1 parent 7709d9b commit c27fd01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/AP_SimpleWebServer/AP_SimpleWebServer.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ void setup() {
5050
Serial.print("Creating access point named: ");
5151
Serial.println(ssid);
5252

53-
// Create WEP network. Change this line if you want to create an open network:
54-
if (WiFi.beginAP(ssid, keyIndex, pass) != WL_CONNECTED) {
53+
// Create open network. Change this line if you want to create an WEP network:
54+
if (WiFi.beginAP(ssid) != WL_CONNECTED) {
5555
Serial.println("Creating access point failed");
5656
// don't continue
5757
while (true);

0 commit comments

Comments
 (0)