summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-23 14:40:31 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-23 14:40:31 -0500
commitda96a95a9a85299b228dacbe345c5499736d36dc (patch)
treea2e421462548c91edc833e095d53725f8840195e /libgpsd_core.c
parent0747ffe258042efe53c10964c579af62c7b8ae30 (diff)
downloadgpsd-da96a95a9a85299b228dacbe345c5499736d36dc.tar.gz
TOFF JSON message implemented and documented.
All regression tests pass. PPS observed live with gosmon. gpsmon presently ignores this message, but shout display its contents near PPS.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index c9f99d40..cce41ea2 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -1647,8 +1647,8 @@ void gpsd_zero_satellites( /*@out@*/ struct gps_data_t *out)
#endif
}
-#ifdef NTPSHM_ENABLE
-void ntpshm_latch(struct gps_device_t *device, struct timedelta_t /*@out@*/*td)
+#ifdef NTP_ENABLE
+void ntp_latch(struct gps_device_t *device, struct timedelta_t /*@out@*/*td)
/* latch the fact that we've saved a fix */
{
double fix_time, integral, fractional;
@@ -1688,6 +1688,6 @@ void ntpshm_latch(struct gps_device_t *device, struct timedelta_t /*@out@*/*td)
/*@+compdef@*/
#endif /* PPS_ENABLE */
}
-#endif /* NTPSHM_ENABLE */
+#endif /* NTP_ENABLE */
/* end */