From 89f9fa03cc54677df225356e206a994c25ec6083 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Mon, 25 Sep 2023 15:49:09 -0600 Subject: [PATCH] States: Eliminate infinite loop in STATE_KEYS_WIFI_STARTED --- Firmware/RTK_Surveyor/States.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/RTK_Surveyor/States.ino b/Firmware/RTK_Surveyor/States.ino index b54621f64..c795e81dd 100644 --- a/Firmware/RTK_Surveyor/States.ino +++ b/Firmware/RTK_Surveyor/States.ino @@ -812,7 +812,7 @@ void updateSystemState() case (STATE_KEYS_WIFI_STARTED): { if (wifiIsConnected()) changeState(STATE_KEYS_WIFI_CONNECTED); - else if (wifiState == WIFI_OFF) + else { wifiMaxConnectionAttempts = wifiOriginalMaxConnectionAttempts; // Override setting to 2 attemps during keys