add connection fixes for esp32 wifi not started yet

This commit is contained in:
tablatronix
2022-06-30 13:40:38 -05:00
parent 605d1e897a
commit b8205e71f3
2 changed files with 10 additions and 1 deletions
@@ -95,7 +95,6 @@ void setup() {
// Serial1.begin(115200);
// Serial.setDebugOutput(true);
delay(1000);
Serial.println("\n Starting");
// WiFi.setSleepMode(WIFI_NONE_SLEEP); // disable sleep, can improve ap stability
@@ -310,6 +309,7 @@ void setup() {
}
void wifiInfo(){
// can contain gargbage on esp32 if wifi is not ready yet
Serial.println("[WIFI] WIFI INFO DEBUG");
// WiFi.printDiag(Serial);
Serial.println("[WIFI] SAVED: " + (String)(wm.getWiFiIsSaved() ? "YES" : "NO"));