summaryrefslogtreecommitdiff
path: root/www/writing-a-driver.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-13 15:08:56 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-13 15:08:56 -0400
commit2b98802f78d9e2e0d0d58dba7814a47c3884fe1a (patch)
treeefdf307d7badba7db184c30dae37c8ae87d9a7fc /www/writing-a-driver.xml
parent26ebe19de29f8e24ed5f2d92d6d637d4551020d6 (diff)
downloadgpsd-2b98802f78d9e2e0d0d58dba7814a47c3884fe1a.tar.gz
Update writing-a-driver.xml to describe the ntp_offset() method.
Diffstat (limited to 'www/writing-a-driver.xml')
-rw-r--r--www/writing-a-driver.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/writing-a-driver.xml b/www/writing-a-driver.xml
index 73b2ca49..00053795 100644
--- a/www/writing-a-driver.xml
+++ b/www/writing-a-driver.xml
@@ -17,10 +17,11 @@
<revhistory>
<revision>
<revnumber>1.9</revnumber>
- <date>12 Apr 2010</date>
+ <date>13 Apr 2010</date>
<authorinitials>er</authorinitials>
<revremark>
- Updated by esr; added event_triggermatch.
+ Updated by esr; added event_triggermatch and the new
+ ntp_offset member.
</revremark>
</revision>
<revision>
@@ -719,6 +720,13 @@ possible, assemble your packet in
<structfield>session->msgbuflen</structfield>; this will allow
gpsmon to display the control messages it sends for you.</para>
+<!-- added by ESR, 2009 -->
+<para><structfield>.ntp_offset</structfield> points to code to compute
+an offset to be added, additionally to that in
+<filename>ntp.conf</filename> (if any) whe shipping time notifications
+to NTP. If multiple sentences set TIME_IS, this will differ by
+sentence type; it should differ by baud rare, as well. </para>
+
</sect1>
<sect1><title>Details of the driver parser</title>