* ntpd/ntp_config.c: Add the "allan" tinker variable.
From: Juha Sarlin <juha@c3l.tyreso.se>
* ntpd/refclock_hopfpci.c (hopfpci_start): Lose the "correct_any"
stuff - it's both obsolete and wrong.
bk: 3ae779c8l9IBGC3vQw-m9TY5kKsm6w
2001-04-25 Harlan Stenn <stenn@whimsy.udel.edu>
+ * ntpd/ntp_config.c: Add the "allan" tinker variable.
+ From: Juha Sarlin <juha@c3l.tyreso.se>
+
+ * ntpd/refclock_hopfpci.c (hopfpci_start): Lose the "correct_any"
+ stuff - it's both obsolete and wrong.
+
* ntpd/ntp_proto.c (receive): Keep track of packet versions.
Implement RES_LIMITED.
* include/ntp_config.h (CONF_RES_LIMITED):
{ "dispersion", CONF_CLOCK_PHI },
{ "stepout", CONF_CLOCK_MINSTEP },
{ "minpoll", CONF_CLOCK_MINPOLL },
+ { "allan", CONF_CLOCK_ALLAN },
{ "", CONFIG_UNKNOWN }
};
case CONF_CLOCK_MINPOLL:
loop_config(LOOP_MINPOLL, ftemp);
break;
+
+ case CONF_CLOCK_ALLAN:
+ loop_config(LOOP_ALLAN, ftemp);
+ break;
}
}
break;
#define HOPF_RADIO 0x80 /* radio clock */
#define HOPF_RADIOHP 0xC0 /* high precision radio clock */
-/*
- * Imported from ntpd module
- */
-extern int correct_any; /* if TRUE, correct offset > 1000 s */
/*
* hopfclock unit control structure.
get_systime(&pp->lastrec);
- correct_any = TRUE;
-
/*
* Initialize miscellaneous peer variables
*/