Skip to content

Commit b2c0d3a

Browse files
committed
Add PPL debug print
1 parent 69b4f4f commit b2c0d3a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Firmware/RTK_Everywhere/PointPerfectLibrary.ino

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ void updatePPL()
224224
systemPrintln("PPL GNSS Data is stale");
225225
}
226226
}
227+
228+
if (gnssIsRTKFix() && rtkTimeToFixMs == 0)
229+
{
230+
rtkTimeToFixMs = millis();
231+
if (settings.debugCorrections == true)
232+
systemPrintf("Time to first PPL RTK Fix: %ds\r\n", rtkTimeToFixMs / 1000);
233+
}
227234
}
228235

229236
// The PPL is fed during updatePplTask()

0 commit comments

Comments
 (0)