Skip to content

Commit

Permalink
80 ms is still too short. Be on the safe side.
Browse files Browse the repository at this point in the history
  • Loading branch information
gluap committed Feb 12, 2025
1 parent 88a0992 commit 02f4402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ void Gps::handleUbxNavTimeGps(const GpsBuffer::UbxNavTimeGps &message, const uin
mIncomingGpsRecord.setWeek(mLastGpsWeek);
}
if ((message.valid & 0x03) == 0x03 // WEEK && TOW
&& delayMs < 80
&& delayMs < 250
&& message.tAcc < (20 * 1000 * 1000 /* 20ms */)
&& (mLastTimeTimeSet == 0
|| (mLastTimeTimeSet + (2 * 60 * 1000 /* 2 minutes */)) < receivedMs)) {
Expand Down

0 comments on commit 02f4402

Please sign in to comment.