diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-04-01 03:49:53 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-04-01 03:49:53 -0400 |
commit | b72e52abcec878350f5c522d243a643cb0ebcc92 (patch) | |
tree | 90f56861f07f7a9e67c5fcd544f092efe8fd4c68 /gpsd.c | |
parent | 224469fbfd1dedccb298263173d5fcd199e0f128 (diff) | |
download | gpsd-b72e52abcec878350f5c522d243a643cb0ebcc92.tar.gz |
Clean up PPS monitor interface with renames, and additional documentation.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1511,7 +1511,7 @@ static void all_reports(struct gps_device_t *device, gps_mask_t changed) } else if (isnan(device->newdata.time)) { //gpsd_log(&context.errout, LOG_PROG, "NTP: bad new time\n"); #if defined(PPS_ENABLE) - } else if (device->newdata.time <= device->pps_thread.fixin.real.tv_sec) { + } else if (device->newdata.time <= device->pps_thread.fix_in.real.tv_sec) { //gpsd_log(&context.errout, LOG_PROG, "NTP: Not a new time\n"); #endif /* PPS_ENABLE */ } else if (!device->ship_to_ntpd) { @@ -1528,7 +1528,7 @@ static void all_reports(struct gps_device_t *device, gps_mask_t changed) /* propagate this in-band-time to all PPS-only devices */ for (ppsonly = devices; ppsonly < devices + MAX_DEVICES; ppsonly++) if (ppsonly->sourcetype == source_pps) - pps_thread_fixin(&ppsonly->pps_thread, &td); + pps_thread_fix_in(&ppsonly->pps_thread, &td); #endif /* PPS_ENABLE */ #ifdef NTPSHM_ENABLE |