Skip to content

Commit e9e6c68

Browse files
authored
Merge pull request #274 from sparkfun/release_candidate
Add PPL debug print
2 parents e61ad9a + b2c0d3a commit e9e6c68

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)