diff options
author | Gary E. Miller <gem@rellim.com> | 2016-04-24 15:26:48 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-04-24 15:30:56 -0700 |
commit | a8d12eea466d66d28104fb4b24274dc2168227f0 (patch) | |
tree | 0eb3dcd10678d046d7d7e1bf294c2a93ed61f3b2 /gpsd.c | |
parent | 9c3b5204a130be036eced73b7a7cde29f9a8157c (diff) | |
download | gpsd-a8d12eea466d66d28104fb4b24274dc2168227f0.tar.gz |
PPSTIME -> NTPTIME
NTPTIME is from the serial stream, it never had anything to
do with PPS and it just confused everyone.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1511,11 +1511,11 @@ static void all_reports(struct gps_device_t *device, gps_mask_t changed) #ifdef NTP_ENABLE /* * Time is eligible for shipping to NTPD if the driver has - * asserted PPSTIME_IS at any point in the current cycle. + * asserted NTPTIME_IS at any point in the current cycle. */ if ((changed & CLEAR_IS)!=0) device->ship_to_ntpd = false; - if ((changed & PPSTIME_IS)!=0) + if ((changed & NTPTIME_IS)!=0) device->ship_to_ntpd = true; /* * Only update the NTP time if we've seen the leap-seconds data. |