Skip to content

Commit 27f25aa

Browse files
committed
Variable rename
1 parent ce4d023 commit 27f25aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Firmware/RTK_Everywhere/NtripServer.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ void ntripServerPrintStatus(int serverIndex)
359359
void ntripServerProcessRTCM(int serverIndex, uint8_t incoming)
360360
{
361361
NTRIP_SERVER_DATA *ntripServer = &ntripServerArray[serverIndex];
362-
static uint32_t zedBytesSent;
362+
static uint32_t rtcmBytesSent;
363363

364364
if (ntripServer->state == NTRIP_SERVER_CASTING)
365365
{
@@ -383,8 +383,8 @@ void ntripServerProcessRTCM(int serverIndex, uint8_t incoming)
383383
char timestamp[30];
384384
strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S", &timeinfo);
385385
systemPrintf(" Tx%d RTCM: %s.%03ld, %d bytes sent\r\n", serverIndex, timestamp, rtc.getMillis(),
386-
zedBytesSent);
387-
zedBytesSent = 0;
386+
rtcmBytesSent);
387+
rtcmBytesSent = 0;
388388
}
389389
previousMilliseconds = currentMilliseconds;
390390
}
@@ -403,7 +403,7 @@ void ntripServerProcessRTCM(int serverIndex, uint8_t incoming)
403403
{
404404
ntripServer->networkClient->write(incoming); // Send this byte to socket
405405
ntripServer->bytesSent++;
406-
zedBytesSent++;
406+
rtcmBytesSent++;
407407
ntripServer->timer = millis();
408408
netOutgoingRTCM = true;
409409
}

0 commit comments

Comments
 (0)