diff --git a/src/main.cpp b/src/main.cpp index 6808096..c80001a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -308,17 +308,17 @@ void setup(void) { } void loop(void) { - if (wifiState!=WiFi.status()) { + /*if (wifiState!=WiFi.status()) { Serial.print("Wifi Status Change: "); Serial.println(WiFi.status()); wifiState=WiFi.status(); - } + } */ // if we lost connection reconnect... if (WL_CONNECTED != WiFi.status()){ - WiFi.disconnect(); - delay(1000); // This didn't work - let's try rebooting instead. + //WiFi.disconnect(); + //delay(1000); // wifiSetup(); ESP.restart(); }