Skip to content

Commit 89f9fa0

Browse files
committed
States: Eliminate infinite loop in STATE_KEYS_WIFI_STARTED
1 parent 072bdec commit 89f9fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/States.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ void updateSystemState()
812812
case (STATE_KEYS_WIFI_STARTED): {
813813
if (wifiIsConnected())
814814
changeState(STATE_KEYS_WIFI_CONNECTED);
815-
else if (wifiState == WIFI_OFF)
815+
else
816816
{
817817
wifiMaxConnectionAttempts =
818818
wifiOriginalMaxConnectionAttempts; // Override setting to 2 attemps during keys

0 commit comments

Comments
 (0)