diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-23 08:20:38 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-23 08:20:38 -0400 |
commit | fbfc0b76ba6223d5152a412a9e31e3729342a979 (patch) | |
tree | bd8437d172d6d9b75016e82b40a4928a20a24015 /driver_italk.c | |
parent | b3dbcae121b94dacff00354169520117da0a13d6 (diff) | |
download | gpsd-fbfc0b76ba6223d5152a412a9e31e3729342a979.tar.gz |
Make all drivers set the PPSTIME_IS mask where appropriate. It's not yet used.
All regression tests pass.
Diffstat (limited to 'driver_italk.c')
-rw-r--r-- | driver_italk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_italk.c b/driver_italk.c index 04546859..2c29f093 100644 --- a/driver_italk.c +++ b/driver_italk.c @@ -63,7 +63,7 @@ static gps_mask_t decode_itk_navfix(struct gps_device_t *session, session->newdata.time = gpsd_gpstime_resolve(session, (unsigned short) getles16(buf, 7 + 82), (unsigned int)getleu32(buf, 7 + 84) / 1000.0); - mask |= TIME_IS; + mask |= TIME_IS | PPSTIME_IS; epx = (double)(getles32(buf, 7 + 96) / 100.0); epy = (double)(getles32(buf, 7 + 100) / 100.0); @@ -193,7 +193,7 @@ static gps_mask_t decode_itk_utcionomodel(struct gps_device_t *session, gpsd_report(LOG_DATA, "UTC_IONO_MODEL: time=%.2f mask={TIME}\n", session->newdata.time); - return TIME_IS; + return TIME_IS | PPSTIME_IS; } static gps_mask_t decode_itk_subframe(struct gps_device_t *session, |