mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
UBlox: Check valid time bit for NAV_TIMEUTC messages (used for Ublox 6 and earlier)
This commit is contained in:
parent
891a7af509
commit
051b7b853e
@ -827,6 +827,7 @@ UBX::payload_rx_done(void)
|
||||
case UBX_MSG_NAV_TIMEUTC:
|
||||
UBX_TRACE_RXMSG("Rx NAV-TIMEUTC\n");
|
||||
|
||||
if(_buf.payload_rx_nav_timeutc.valid & UBX_RX_NAV_TIMEUTC_VALID_VALIDUTC)
|
||||
{
|
||||
// convert to unix timestamp
|
||||
struct tm timeinfo;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user