mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
Update wifihandler.cpp spamming serial console (#180)
If the WiFi was not connected in a certain time, the message was was spammed.
This commit is contained in:
@@ -141,6 +141,7 @@ void WiFiNetwork::upkeep() {
|
||||
if(!hadWifi && !WiFi.smartConfigDone() && wifiConnectionTimeout + 11000 < millis()) {
|
||||
if(WiFi.status() != WL_IDLE_STATUS) {
|
||||
wifiHandlerLogger.error("Can't connect from any credentials, status: %d.", WiFi.status());
|
||||
wifiConnectionTimeout = millis();
|
||||
}
|
||||
startProvisioning();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user