summaryrefslogtreecommitdiff
path: root/driver_navcom.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-31 23:49:55 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-31 23:49:55 -0400
commit2ae441d42411d416e9e3f39c60f6c14d23708f74 (patch)
tree37b14bf6edc83e62ab1d14d64040161d91f75220 /driver_navcom.c
parent5af8826c921dfe73e04a24e1e092a04c97f577a2 (diff)
downloadgpsd-2ae441d42411d416e9e3f39c60f6c14d23708f74.tar.gz
Contain the assumption that time hinting is done to NTPD.
Because it might be going to chrony. Or something else. No logic changes, just name changes and one new derived #define, TIMEHINT_ENABLE.
Diffstat (limited to 'driver_navcom.c')
-rw-r--r--driver_navcom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_navcom.c b/driver_navcom.c
index 5c6fbd24..d67acde9 100644
--- a/driver_navcom.c
+++ b/driver_navcom.c
@@ -1296,9 +1296,9 @@ const struct gps_type_t navcom_binary =
#ifdef CONTROLSEND_ENABLE
.control_send = navcom_control_send, /* how to send a control string */
#endif /* CONTROLSEND_ENABLE */
-#ifdef NTPSHM_ENABLE
- .ntp_offset = NULL, /* no method for NTP fudge factor */
-#endif /* NTPSHM_ ENABLE */
+#ifdef TIMEHINT_ENABLE
+ .time_offset = NULL, /* no method for NTP fudge factor */
+#endif /* TIMEHINT_ENABLE */
};
/* *INDENT-ON* */