Skip to content

Commit 5c51a59

Browse files
committed
Suppress GST patch unless we are in RTK Fix/Float.
1 parent 05ff499 commit 5c51a59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Firmware/RTK_Everywhere/GNSS_LG290P.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,6 +2233,10 @@ void lg290pModifyGst(char *nmeaSentence, uint16_t *sentenceLength)
22332233
if (online.gnss == false)
22342234
return;
22352235

2236+
// Only apply the GST patch if our HPA is very small (<0.1m), ie RTK Float or Fix.
2237+
if (gnss->isRTKFix() == false && gnss->isRTKFloat() == false)
2238+
return;
2239+
22362240
GNSS_LG290P *lg290p = (GNSS_LG290P *)gnss;
22372241

22382242
// Identify sentence type

0 commit comments

Comments
 (0)