mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-23 05:35:19 +01:00
less time
Some checks failed
Commit Test Build / build (map[chip:esp32 name:ttgo-lora32-v21]) (push) Has been cancelled
Some checks failed
Commit Test Build / build (map[chip:esp32 name:ttgo-lora32-v21]) (push) Has been cancelled
This commit is contained in:
parent
8b4d8c2d1d
commit
beae88d557
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue