Both based on the spec for Post Office clock 26 mark 6. This
specifies the pulse width (200-500 ms) and the advance rate (one pulse
per second).
#include <time.h>
#include <unistd.h>
+/*
+ * Post Office specification 479B requires a pulse length of 200-500 ms.
+ */
static long const pulsewidth = 250000000; /* nanoseconds */
/*
tick = 30;
switch (need_adjust(&tm)) {
case ADVANCE:
- tick = 2;
+ tick = 1;
/* FALLTHROUGH */
case TICK:
pulse();