1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Don't wait for a connection to an AP when we're supposed to be the AP.

This commit is contained in:
Peter Newman 2015-06-14 16:12:40 +01:00 committed by Ivan Grokhotkov
parent 5d4266a50e
commit b7451114fd

View File

@ -55,9 +55,6 @@ void setup() {
/* You can remove the password parameter if you want the AP to be open. */
WiFi.softAP(ssid, password);
while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); }
Serial.println("done");
IPAddress myIP = WiFi.softAPIP();
Serial.print("AP IP address: ");
Serial.println(myIP);