summaryrefslogtreecommitdiff
path: root/driver_sirf.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2010-05-25 23:48:27 -0700
committerGary E. Miller <gem@rellim.com>2010-05-25 23:48:27 -0700
commitd2222a70add8faeb9383298b53cd5733db898202 (patch)
tree0909876b41353d4c7d040ac9f66202847a2d3ba6 /driver_sirf.c
parente69428405ad95c9aa26e273f9258f6916a330812 (diff)
downloadgpsd-d2222a70add8faeb9383298b53cd5733db898202.tar.gz
Tweak the NTP offset for SiRF when using USB.
Diffstat (limited to 'driver_sirf.c')
-rw-r--r--driver_sirf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver_sirf.c b/driver_sirf.c
index 1d898d03..0e271f57 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -556,6 +556,9 @@ static double sirf_ntp_offset(struct gps_device_t *session)
return 0.570;
#endif /* __UNUSED__ */
+ if (session->sourcetype == source_usb) {
+ return 0.600; /* USB, expect +/- 40mS jitter */
+ }
/* the Navigation Solution message */
if (strcmp(session->gpsdata.tag, "MID2") == 0)
switch (session->gpsdata.dev.baudrate) {