diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-08 09:35:03 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-08 09:35:03 -0400 |
commit | c82fe00247bd9fcbf5a70901c3b022e8ddd5ab0f (patch) | |
tree | f6876e6cc50dd166e94c30851804bb7911c0e613 /gpsmon.c | |
parent | 2144fc0fde0b5ba35bc252beaef753c2e07e9fd8 (diff) | |
download | gpsd-c82fe00247bd9fcbf5a70901c3b022e8ddd5ab0f.tar.gz |
Eliminate timestamp-T use from PPS thread code.
PPS observed live on GR-601W. All regression yests pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -848,7 +848,7 @@ static void gpsmon_hook(struct gps_device_t *device, gps_mask_t changed UNUSED) if ( 0 != isnan(device->newdata.time)) { // "NTP: bad new time #ifdef PPS_ENABLE - } else if (device->newdata.time == device->pps_thread.fixin_real) { + } else if (device->newdata.time <= device->pps_thread.fixin_real.tv_sec) { // "NTP: Not a new time #endif /* PPS_ENABLE */ } else |