refclock_zyfer.c (106163) | refclock_zyfer.c (106424) |
---|---|
1/* 2 * refclock_zyfer - clock driver for the Zyfer GPSTarplus Clock 3 * 4 * Harlan Stenn, Jan 2002 5 */ 6 7#ifdef HAVE_CONFIG_H 8#include <config.h> --- 219 unchanged lines hidden (view full) --- 228 * - if *rbufp->recv_space is ! 229 * - - call refclock_gtlin to get things going 230 * - else flush 231 * else stuff it on the end of lastcode 232 * If we don't have LENZYFER bytes 233 * - wait for more data 234 * Crack the beast, and if it's OK, process it. 235 * | 1/* 2 * refclock_zyfer - clock driver for the Zyfer GPSTarplus Clock 3 * 4 * Harlan Stenn, Jan 2002 5 */ 6 7#ifdef HAVE_CONFIG_H 8#include <config.h> --- 219 unchanged lines hidden (view full) --- 228 * - if *rbufp->recv_space is ! 229 * - - call refclock_gtlin to get things going 230 * - else flush 231 * else stuff it on the end of lastcode 232 * If we don't have LENZYFER bytes 233 * - wait for more data 234 * Crack the beast, and if it's OK, process it. 235 * |
236 * We use refclock_getlin() because we might use LDISC_CLK. | 236 * We use refclock_gtlin() because we might use LDISC_CLK. |
237 * 238 * Under FreeBSD, we get the ! followed by two 14-byte packets. 239 */ 240 241 if (pp->lencode >= LENZYFER) 242 pp->lencode = 0; 243 244 if (!pp->lencode) { --- 102 unchanged lines hidden --- | 237 * 238 * Under FreeBSD, we get the ! followed by two 14-byte packets. 239 */ 240 241 if (pp->lencode >= LENZYFER) 242 pp->lencode = 0; 243 244 if (!pp->lencode) { --- 102 unchanged lines hidden --- |