1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +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 3263fcb0ea
commit 59bd30a80d

View File

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