Skip to content

Commit 95b3ef8

Browse files
committed
Add GNSS debug during detect
1 parent 9d02d40 commit 95b3ef8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Firmware/RTK_Everywhere/GNSS_LG290P.ino

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void GNSS_LG290P::baseRtcmLowDataRate()
3939
settings.lg290pMessageRatesRTCMBase[x] = 0;
4040

4141
settings.lg290pMessageRatesRTCMBase[getRtcmMessageNumberByName("RTCM3-1005")] =
42-
10; // 1005 0.1Hz - Exclude antenna height
42+
10; // 1005 0.1Hz - Exclude antenna height
4343
settings.lg290pMessageRatesRTCMBase[getRtcmMessageNumberByName("RTCM3-107X")] = 2; // 1074 0.5Hz
4444
settings.lg290pMessageRatesRTCMBase[getRtcmMessageNumberByName("RTCM3-108X")] = 2; // 1084 0.5Hz
4545
settings.lg290pMessageRatesRTCMBase[getRtcmMessageNumberByName("RTCM3-109X")] = 2; // 1094 0.5Hz
@@ -2397,9 +2397,15 @@ bool lg290pIsPresent()
23972397

23982398
LG290P lg290p;
23992399

2400+
if (settings.debugGnss)
2401+
{
2402+
lg290p.enableDebugging(); // Print all debug to Serial
2403+
lg290p.enablePrintRxMessages(); // Print incoming processed messages from SEMP
2404+
}
2405+
24002406
if (lg290p.begin(serialTestGNSS) == true) // Give the serial port over to the library
24012407
{
2402-
if (settings.debugGnss)
2408+
if (settings.debugGnss)
24032409
systemPrintln("LG290P detected");
24042410
serialTestGNSS.end();
24052411
return true;

0 commit comments

Comments
 (0)