Skip to content
Commits on Source (2)
......@@ -9,6 +9,9 @@ on user-visible changes.
== Repository Head ==
The SHM refclok no longer limits the value of SHM time by default.
This allows SHM to work on systems with no RTC by default.
== 2016-12-30: 0.9.6 ==
ntpkeygen has been moved from C to Python. This is not a functional
......
......@@ -167,10 +167,10 @@ for the specific unit.
Specifies the driver reference identifier, an ASCII string from one to
four characters, with default +SHM+.
+flag1 {0 | 1}+::
_Skip_ the difference limit check if set. Useful for systems where the
RTC backup cannot keep the time over long periods without power and the
SHM clock must be able to force long-distance initial jumps. _Check_ the
difference limit if cleared (default).
_Check_ the difference limit check if set. _Skip_ the difference limit
if not set (default). There is really no need for this flag, just let
the upper level logic prune out false tickers. NOTE: this flag is
the opposite of flag1 in NTp Classic.
+flag2 {0 | 1}+::
Not used by this driver.
+flag3 {0 | 1}+::
......
......@@ -217,7 +217,7 @@ shm_control(
UNUSED_ARG(out_st);
if (NULL == up)
return;
if (pp->sloppyclockflag & CLK_FLAG1)
if (!(pp->sloppyclockflag & CLK_FLAG1))
up->max_delta = 0;
else if (pp->fudgetime2 < 1. || pp->fudgetime2 > 86400.)
up->max_delta = 4*3600;
......