less time

This commit is contained in:
Ricardo Guzman (Richonguzman)
2026-02-11 01:03:54 -03:00
parent 8b4d8c2d1d
commit beae88d557

View File

@@ -61,7 +61,7 @@ namespace WIFI_Utils {
if (!backupDigiMode && ((currentTime - lastWiFiCheck) >= 30 * 1000) && !WiFiAutoAPStarted) {
lastWiFiCheck = currentTime;
if (WiFi.status() == WL_CONNECTED) {
if (Config.digi.backupDigiMode && (currentTime - lastServerCheck > 60 * 1000)) {
if (Config.digi.backupDigiMode && (currentTime - lastServerCheck > 30 * 1000)) {
Serial.println("*** Server Connection LOST → Backup Digi Mode ***");
backupDigiMode = true;
WiFi.disconnect();