mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-1056 Fix the TIMEUTC valid flags in GPS UBX protocol
This commit is contained in:
parent
988a732e79
commit
d70d8df272
@ -254,7 +254,7 @@ void parse_ubx_nav_velned(struct UBX_NAV_VELNED *velned, GPSPositionSensorData *
|
||||
#if !defined(PIOS_GPS_MINIMAL)
|
||||
void parse_ubx_nav_timeutc(struct UBX_NAV_TIMEUTC *timeutc)
|
||||
{
|
||||
if (!(timeutc->valid & TIMEUTC_VALIDUTC)) {
|
||||
if (!(timeutc->valid & TIMEUTC_VALIDTOW) || !(timeutc->valid & TIMEUTC_VALIDWKN)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user