summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-16 20:43:11 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-16 20:43:11 +0000
commitf3d2f3247e348d4079e64a2a75b987621e031ca4 (patch)
treeb368d7cd26815d346a2b33c8c214b3b4d7432099 /drivers.c
parentb69a4e229ebf465a73455fc01a3b3d5d70881109 (diff)
downloadgpsd-f3d2f3247e348d4079e64a2a75b987621e031ca4.tar.gz
Better documentation of the new time patch.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers.c b/drivers.c
index f93dc600..4c7fdd02 100644
--- a/drivers.c
+++ b/drivers.c
@@ -43,6 +43,7 @@ static int nmea_parse_input(struct gps_device_t *session)
}
#ifdef NTPSHM_ENABLE
if (st & TIME_SET)
+ /* this magic number is derived from observation */
ntpshm_put(session->context, session->gpsdata.fix.time + 0.675);
#endif