Skip to content

Commit 1a684c4

Browse files
committed
Only enable RTCM if PPL is needed
1 parent e029e35 commit 1a684c4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Firmware/RTK_Everywhere/GNSS_LG290P.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ bool GNSS_LG290P::enableNMEA()
670670

671671
// If we are using IP based corrections, we need to send local data to the PPL
672672
// The PPL requires being fed GPGGA/ZDA, and RTCM1019/1020/1042/1046
673-
if (pointPerfectIsEnabled())
673+
if (pointPerfectServiceUsesKeys())
674674
{
675675
// Mark PPL required messages as enabled if rate > 0
676676
if (settings.lg290pMessageRatesNMEA[messageNumber] > 0)
@@ -693,7 +693,7 @@ bool GNSS_LG290P::enableNMEA()
693693
break; // Don't step through portNumbers
694694
}
695695

696-
if (pointPerfectIsEnabled())
696+
if (pointPerfectServiceUsesKeys())
697697
{
698698
// Force on any messages that are needed for PPL
699699
// If firmware is 4 or higher, use setMessageRateOnPort, otherwise setMessageRate
@@ -873,7 +873,7 @@ bool GNSS_LG290P::enableRTCMRover()
873873

874874
// If we are using IP based corrections, we need to send local data to the PPL
875875
// The PPL requires being fed GPGGA/ZDA, and RTCM1019/1020/1042/1046
876-
if (pointPerfectIsEnabled())
876+
if (pointPerfectServiceUsesKeys())
877877
{
878878
// Mark PPL required messages as enabled if rate > 0
879879
if (settings.lg290pMessageRatesRTCMRover[messageNumber] > 0)
@@ -898,7 +898,7 @@ bool GNSS_LG290P::enableRTCMRover()
898898
break; // Don't step through portNumbers
899899
}
900900

901-
if (pointPerfectIsEnabled())
901+
if (pointPerfectServiceUsesKeys())
902902
{
903903
enableMSM = true; // Force enable MSM output
904904

Firmware/RTK_Everywhere/GNSS_UM980.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ bool GNSS_UM980::enableNMEA()
519519

520520
// If we are using IP based corrections, we need to send local data to the PPL
521521
// The PPL requires being fed GPGGA/ZDA, and RTCM1019/1020/1042/1046
522-
if (pointPerfectIsEnabled())
522+
if (pointPerfectServiceUsesKeys())
523523
{
524524
// Mark PPL required messages as enabled if rate > 0
525525
if (settings.um980MessageRatesNMEA[messageNumber] > 0)
@@ -533,7 +533,7 @@ bool GNSS_UM980::enableNMEA()
533533
}
534534
}
535535

536-
if (pointPerfectIsEnabled())
536+
if (pointPerfectServiceUsesKeys())
537537
{
538538
// Force on any messages that are needed for PPL
539539
if (gpggaEnabled == false)
@@ -599,7 +599,7 @@ bool GNSS_UM980::enableRTCMRover()
599599

600600
// If we are using IP based corrections, we need to send local data to the PPL
601601
// The PPL requires being fed GPGGA/ZDA, and RTCM1019/1020/1042/1046
602-
if (pointPerfectIsEnabled())
602+
if (pointPerfectServiceUsesKeys())
603603
{
604604
// Mark PPL required messages as enabled if rate > 0
605605
if (settings.um980MessageRatesRTCMRover[messageNumber] > 0)
@@ -617,7 +617,7 @@ bool GNSS_UM980::enableRTCMRover()
617617
}
618618
}
619619

620-
if (pointPerfectIsEnabled())
620+
if (pointPerfectServiceUsesKeys())
621621
{
622622
// Force on any messages that are needed for PPL
623623
if (rtcm1019Enabled == false)

0 commit comments

Comments
 (0)