From: Harlan Stenn Date: Sun, 18 Mar 2007 00:35:08 +0000 (-0500) Subject: [Bug 569] Use the correct precision for the Leitch CSD-5300 X-Git-Tag: NTP_4_2_5P18~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02f2e7abc8539d15d223a18477faa557528b7d18;p=thirdparty%2Fntp.git [Bug 569] Use the correct precision for the Leitch CSD-5300 bk: 45fc893cfVfkacCrJk5Au4KCjdispA --- diff --git a/ChangeLog b/ChangeLog index fa1851145..7f5a18c21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 569] Use the correct precision for the Leitch CSD-5300. * [Bug 795] Moved declaration of variable to top of function. * [Bug 798] ntpq [p typo crashes ntpq/ntpdc. * [Bug 786] Fix refclock_bancomm.c on Solaris. diff --git a/ntpd/refclock_leitch.c b/ntpd/refclock_leitch.c index 908c72418..fe6f7725d 100644 --- a/ntpd/refclock_leitch.c +++ b/ntpd/refclock_leitch.c @@ -43,6 +43,7 @@ * STATUS: G (good), D (diag fail), T (time not provided) or * P (last phone update failed) */ +#define PRECISION (-20) /* 1x10-8 */ #define MAXUNITS 1 /* max number of LEITCH units */ #define LEITCHREFID "ATOM" /* reference id */ #define LEITCH_DESCRIPTION "Leitch: CSD 5300 Master Clock System Driver" @@ -393,7 +394,7 @@ leitch_start( * All done. Initialize a few random peer variables, then * return success. */ - peer->precision = 0; + peer->precision = PRECISION; peer->stratum = stratumtouse[unit]; peer->refid = refid[unit]; unitinuse[unit] = 1;