Skip to content

Commit

Permalink
Merge pull request #274 from sparkfun/release_candidate
Browse files Browse the repository at this point in the history
Add PPL debug print
  • Loading branch information
nseidle authored May 1, 2024
2 parents e61ad9a + b2c0d3a commit e9e6c68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Firmware/RTK_Everywhere/PointPerfectLibrary.ino
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ void updatePPL()
systemPrintln("PPL GNSS Data is stale");
}
}

if (gnssIsRTKFix() && rtkTimeToFixMs == 0)
{
rtkTimeToFixMs = millis();
if (settings.debugCorrections == true)
systemPrintf("Time to first PPL RTK Fix: %ds\r\n", rtkTimeToFixMs / 1000);
}
}

// The PPL is fed during updatePplTask()
Expand Down

0 comments on commit e9e6c68

Please sign in to comment.