summaryrefslogtreecommitdiff
path: root/ntpshmwrite.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-03 13:06:35 -0800
committerGary E. Miller <gem@rellim.com>2015-03-03 13:06:35 -0800
commitc93e0c28dfd8165d8ac66e04139f2111109acaa6 (patch)
treeb45f6a87941a07ef04ddf2739d86de9ddf51d219 /ntpshmwrite.c
parentff37bbda2a251481933f246c163431fe1bdc836c (diff)
downloadgpsd-c93e0c28dfd8165d8ac66e04139f2111109acaa6.tar.gz
TODO: if PPS over USB 1.1, then precision = -10
How to detect that condition?
Diffstat (limited to 'ntpshmwrite.c')
-rw-r--r--ntpshmwrite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ntpshmwrite.c b/ntpshmwrite.c
index 172ef91f..f03b152a 100644
--- a/ntpshmwrite.c
+++ b/ntpshmwrite.c
@@ -248,6 +248,7 @@ int ntpshm_put(struct gps_device_t *session, volatile struct shmTime *shmseg, st
#ifdef PPS_ENABLE
/* ntpd sets -20 for PPS refclocks, thus -20 precision */
+ /* TODO: if PPS over USB 1.1, then precision = -10 */
if (shmTime == session->shm_pps)
precision = -20;
#endif /* PPS_ENABLE */