from WWVB/Spectracom driver introduced in 4.2.7p169.
bk: 4ddb41b7LCuexebxJsL5tbqdQjrZ2A
+* Remove hardcoded 1/960 s. fudge for <CR> transmission time at 9600 8n1
+ from WWVB/Spectracom driver introduced in 4.2.7p169.
(4.2.7p171) 2011/05/23 Released by Harlan Stenn <stenn@ntp.org>
* Eliminate warnings about shadowing global "basename" on Linux.
* Use filegen_config() consistently when changing filegen options.
struct recvbuf *rbufp
)
{
- const l_fp one_char_time = { { 0 }, { (u_int32)(FRAC / 960) } };
struct wwvbunit *up;
struct refclockproc *pp;
struct peer *peer;
if (L_ISZERO(&pp->lastrec))
return;
- /*
- * The start of the <CR> is the on-time event, while our
- * timestamp reflects the end of that <CR> at best. Adjust.
- */
- L_SUB(&pp->lastrec, &one_char_time);
-
/*
* We get down to business, check the timecode format and decode
* its contents. This code uses the timecode length to determine