diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 23:11:40 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 23:11:40 -0400 |
commit | 7094b0fbbbf49a2339108edd7dc0af52841834e7 (patch) | |
tree | 3c19d75601139b43e34fd7e9febead8557610908 /driver_geostar.c | |
parent | 56e9094724cd76cba6a2036a399667bbddb7f109 (diff) | |
download | gpsd-7094b0fbbbf49a2339108edd7dc0af52841834e7.tar.gz |
Revert "Separate ntpd support from chrony support, step 1."
We'll have to sneak up on this change more slowly.
Diffstat (limited to 'driver_geostar.c')
-rw-r--r-- | driver_geostar.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/driver_geostar.c b/driver_geostar.c index fd264d5f..d819e4ad 100644 --- a/driver_geostar.c +++ b/driver_geostar.c @@ -599,12 +599,12 @@ static void geostar_mode(struct gps_device_t *session, int mode) } #endif /* RECONFIGURE_ENABLE */ -#ifdef TIMESERVICE_ENABLE -static double geostar_time_offset(struct gps_device_t *session UNUSED) +#ifdef NTPSHM_ENABLE +static double geostar_ntp_offset(struct gps_device_t *session UNUSED) { return 0.31; } -#endif /* TIMESERVICE_ENABLE */ +#endif /* NTPSHM_ENABLE */ /* this is everything we export */ /* *INDENT-OFF* */ @@ -629,9 +629,9 @@ const struct gps_type_t geostar_binary = #ifdef CONTROLSEND_ENABLE .control_send = geostar_control_send,/* how to send commands */ #endif /* CONTROLSEND_ENABLE */ -#ifdef TIMESERVICE_ENABLE - .time_offset = geostar_time_offset, -#endif /* TIMESERVICE_ENABLE */ +#ifdef NTPSHM_ENABLE + .ntp_offset = geostar_ntp_offset, +#endif /* NTPSHM_ENABLE */ }; /* *INDENT-ON* */ |