Skip to content

Commit dfcef2b

Browse files
committed
Change updateLBand to check systemState
Avoids immediate ZED reset as a unit moves from 3D fix to RTK Float.
1 parent 5f1cc8c commit dfcef2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/menuPP.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ void updateLBand()
12441244
lbandCorrectionsReceived = false;
12451245

12461246
// If we don't get an L-Band fix within Timeout, hot-start ZED-F9x
1247-
if (carrSoln == 1) // RTK Float
1247+
if (systemState == STATE_ROVER_RTK_FLOAT)
12481248
{
12491249
if (millis() - lbandLastReport > 1000)
12501250
{

0 commit comments

Comments
 (0)