Skip to content

Commit 6a416c3

Browse files
committed
Increase OTA WiFi wait to 10 seconds
5 seconds was causing problems on some SparkFun networks
1 parent 03c5789 commit 6a416c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Everywhere/menuFirmware.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ void otaUpdate()
847847
otaSetState(OTA_STATE_GET_FIRMWARE_VERSION);
848848
}
849849

850-
else if ((millis() - connectTimer) > (5 * MILLISECONDS_IN_A_SECOND))
850+
else if ((millis() - connectTimer) > (10 * MILLISECONDS_IN_A_SECOND))
851851
{
852852
// Report failed connection to web client
853853
if (websocketConnected)

0 commit comments

Comments
 (0)