Skip to content

Commit 94c1767

Browse files
committed
Increase timeout before closing NTRIP Server.
1 parent 367857c commit 94c1767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firmware/RTK_Everywhere/NtripServer.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ void ntripServerPrintStatus(int serverIndex)
328328

329329
if (ntripServer->state == NTRIP_SERVER_CASTING)
330330
// Use ntripServer->timer since it gets reset after each successful data
331-
// receiption from the NTRIP caster
331+
// reception from the NTRIP caster
332332
milliseconds = ntripServer->timer - ntripServer->startTime;
333333
else
334334
{
@@ -780,7 +780,7 @@ void ntripServerUpdate(int serverIndex)
780780
systemPrintf("Connection to NTRIP Caster %d was lost\r\n", serverIndex);
781781
ntripServerRestart(serverIndex);
782782
}
783-
else if ((millis() - ntripServer->timer) > (3 * 1000))
783+
else if ((millis() - ntripServer->timer) > (10 * 1000))
784784
{
785785
// GNSS stopped sending RTCM correction data
786786
systemPrintf("NTRIP Server %d breaking connection to caster due to lack of RTCM data!\r\n", serverIndex);

0 commit comments

Comments
 (0)