summaryrefslogtreecommitdiff
path: root/driver_garmin.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2010-04-12 16:29:37 -0700
committerGary E. Miller <gem@rellim.com>2010-04-12 16:29:37 -0700
commit5fcab2f30ce1326228fcbd850b002f53471457cb (patch)
tree2c80f732e1d704beca0c3adda75e0140b9163645 /driver_garmin.c
parent389249e1d62e0434eeaea4da957e043bfcd446c4 (diff)
downloadgpsd-5fcab2f30ce1326228fcbd850b002f53471457cb.tar.gz
Add some debugging and fixes to new ntpshm_pps() wrapper.
Diffstat (limited to 'driver_garmin.c')
-rw-r--r--driver_garmin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_garmin.c b/driver_garmin.c
index 25f1c5c8..26cf1772 100644
--- a/driver_garmin.c
+++ b/driver_garmin.c
@@ -1259,7 +1259,7 @@ const struct gps_type_t garmin_usb_binary_old =
.control_send = garmin_control_send, /* send raw bytes */
#endif /* ALLOW_CONTROLSEND */
#ifdef NTPSHM_ENABLE
- .ntp_offset = NULL, /* no method for NTP fudge factor */
+ .ntp_offset = garmin_ntp_offset,
#endif /* NTPSHM_ ENABLE */
};
#endif /* __UNUSED__ */
@@ -1287,7 +1287,7 @@ const struct gps_type_t garmin_usb_binary =
.control_send = garmin_control_send, /* send raw bytes */
#endif /* ALLOW_CONTROLSEND */
#ifdef NTPSHM_ENABLE
- .ntp_offset = NULL, /* no method for NTP fudge factor */
+ .ntp_offset = garmin_ntp_offset,
#endif /* NTPSHM_ ENABLE */
};