Skip to content

Commit 2e0cd2c

Browse files
committed
Changed from wifi*RTCM to net*RTCM
1 parent d49e03b commit 2e0cd2c

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

Firmware/RTK_Surveyor/Display.ino

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ uint32_t setWiFiIcon_TwoRadios()
10061006
{
10071007
firstRadioSpotTimer = millis();
10081008

1009-
if (wifiIncomingRTCM == true || wifiOutgoingRTCM == true)
1009+
if (netIncomingRTCM == true || netOutgoingRTCM == true)
10101010
firstRadioSpotBlink ^= 1; // Share the spot
10111011
else
10121012
firstRadioSpotBlink = false;
@@ -1032,15 +1032,15 @@ uint32_t setWiFiIcon_TwoRadios()
10321032
else
10331033
{
10341034
// Share the spot. Determine if we need to indicate Up, or Down
1035-
if (wifiIncomingRTCM == true)
1035+
if (netIncomingRTCM == true)
10361036
{
10371037
icons |= ICON_DOWN_ARROW_LEFT;
1038-
wifiIncomingRTCM = false; // Reset, set during NTRIP Client
1038+
netIncomingRTCM = false; // Reset, set during NTRIP Client
10391039
}
1040-
else if (wifiOutgoingRTCM == true)
1040+
else if (netOutgoingRTCM == true)
10411041
{
10421042
icons |= ICON_UP_ARROW_LEFT;
1043-
wifiOutgoingRTCM = false; // Reset, set during NTRIP Server
1043+
netOutgoingRTCM = false; // Reset, set during NTRIP Server
10441044
}
10451045
else
10461046
{
@@ -1093,7 +1093,7 @@ uint32_t setWiFiIcon_ThreeRadios()
10931093
{
10941094
thirdRadioSpotTimer = millis();
10951095

1096-
if (wifiIncomingRTCM == true || wifiOutgoingRTCM == true)
1096+
if (netIncomingRTCM == true || netOutgoingRTCM == true)
10971097
thirdRadioSpotBlink ^= 1; // Share the spot
10981098
else
10991099
thirdRadioSpotBlink = false;
@@ -1119,15 +1119,15 @@ uint32_t setWiFiIcon_ThreeRadios()
11191119
else
11201120
{
11211121
// Share the spot. Determine if we need to indicate Up, or Down
1122-
if (wifiIncomingRTCM == true)
1122+
if (netIncomingRTCM == true)
11231123
{
11241124
icons |= ICON_DOWN_ARROW_RIGHT;
1125-
wifiIncomingRTCM = false; // Reset, set during NTRIP Client
1125+
netIncomingRTCM = false; // Reset, set during NTRIP Client
11261126
}
1127-
else if (wifiOutgoingRTCM == true)
1127+
else if (netOutgoingRTCM == true)
11281128
{
11291129
icons |= ICON_UP_ARROW_RIGHT;
1130-
wifiOutgoingRTCM = false; // Reset, set during NTRIP Server
1130+
netOutgoingRTCM = false; // Reset, set during NTRIP Server
11311131
}
11321132
else
11331133
{

Firmware/RTK_Surveyor/NtripClient.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ void ntripClientStop(bool wifiClientAllocated)
317317
// Determine the next NTRIP client state
318318
ntripClientSetState((ntripClient && (wifiClientAllocated == false)) ? NTRIP_CLIENT_ON : NTRIP_CLIENT_OFF);
319319
online.ntripClient = false;
320-
wifiIncomingRTCM = false;
320+
netIncomingRTCM = false;
321321
}
322322

323323
// Determine if NTRIP Client is needed
@@ -620,7 +620,7 @@ void ntripClientUpdate()
620620

621621
// Push RTCM to GNSS module over I2C / SPI
622622
theGNSS.pushRawData(rtcmData, rtcmCount);
623-
wifiIncomingRTCM = true;
623+
netIncomingRTCM = true;
624624

625625
if (!inMainMenu && settings.enablePrintNtripClientState)
626626
systemPrintf("NTRIP Client received %d RTCM bytes, pushed to ZED\r\n", rtcmCount);

Firmware/RTK_Surveyor/NtripServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ void ntripServerProcessRTCM(uint8_t incoming)
265265
ntripServer->write(incoming); // Send this byte to socket
266266
ntripServerBytesSent++;
267267
ntripServerTimer = millis();
268-
wifiOutgoingRTCM = true;
268+
netOutgoingRTCM = true;
269269
}
270270
}
271271

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,8 @@ unsigned long thirdRadioSpotTimer = 0;
652652

653653
bool bluetoothIncomingRTCM = false;
654654
bool bluetoothOutgoingRTCM = false;
655-
bool wifiIncomingRTCM = false;
656-
bool wifiOutgoingRTCM = false;
655+
bool netIncomingRTCM = false;
656+
bool netOutgoingRTCM = false;
657657
bool espnowIncomingRTCM = false;
658658
bool espnowOutgoingRTCM = false;
659659

0 commit comments

Comments
 (0)