Skip to content

Commit 9f90fb6

Browse files
committed
Force base to configure for survey in mode
Fix #687
1 parent 8c9e134 commit 9f90fb6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Firmware/RTK_Everywhere/GNSS_LG290P.ino

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,17 @@ bool GNSS_LG290P::configureBase()
389389
return (false);
390390
}
391391

392-
if (settings.gnssConfiguredBase)
392+
// If the device is set to Survey-In, we must allow the device to be configured.
393+
// Otherwise PQMTEPE (estimated position error) is never populated, so the survey
394+
// never starts (Waiting for Horz Accuracy < 2.00m...)
395+
if (settings.fixedBase == false) //Not a fixed base = Survey-in
393396
{
394-
if (settings.debugGnss)
395-
systemPrintln("Skipping LG290P Base configuration");
396-
return true;
397+
if (settings.gnssConfiguredBase)
398+
{
399+
if (settings.debugGnss)
400+
systemPrintln("Skipping LG290P Base configuration");
401+
return true;
402+
}
397403
}
398404

399405
bool response = true;

0 commit comments

Comments
 (0)