Show wifi status in serial message
parent
4e8899330e
commit
6bcaadb31d
|
@ -185,7 +185,8 @@ void handle_SaveAPRSCfg() {
|
||||||
WiFi.begin(wifi_ssid.c_str(), wifi_password.c_str());
|
WiFi.begin(wifi_ssid.c_str(), wifi_password.c_str());
|
||||||
Serial.println("Connecting to " + wifi_ssid);
|
Serial.println("Connecting to " + wifi_ssid);
|
||||||
while (WiFi.status() != WL_CONNECTED) {
|
while (WiFi.status() != WL_CONNECTED) {
|
||||||
Serial.println("Not connected");
|
Serial.print("Not connected: ");
|
||||||
|
Serial.println((int)WiFi.status());
|
||||||
vTaskDelay(500/portTICK_PERIOD_MS);
|
vTaskDelay(500/portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue