diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-31 23:49:55 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-31 23:49:55 -0400 |
commit | 2ae441d42411d416e9e3f39c60f6c14d23708f74 (patch) | |
tree | 37b14bf6edc83e62ab1d14d64040161d91f75220 /driver_nmea2000.c | |
parent | 5af8826c921dfe73e04a24e1e092a04c97f577a2 (diff) | |
download | gpsd-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_nmea2000.c')
-rw-r--r-- | driver_nmea2000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_nmea2000.c b/driver_nmea2000.c index 42b00f5b..621fb615 100644 --- a/driver_nmea2000.c +++ b/driver_nmea2000.c @@ -1617,9 +1617,9 @@ const struct gps_type_t nmea2000 = { #ifdef CONTROLSEND_ENABLE .control_send = NULL, /* how to send control strings */ #endif /* CONTROLSEND_ENABLE */ -#ifdef NTPSHM_ENABLE - .ntp_offset = NULL, -#endif /* NTPSHM_ ENABLE */ +#ifdef TIMEHINT_ENABLE + .time_offset = NULL, +#endif /* TIMEHINT_ENABLE */ }; /* *INDENT-ON* */ |