]> git.ipfire.org Git - thirdparty/chrony.git/commit
Fix problems with rtc_linux.
authorBill Unruh <unruh@physics.ubc.ca>
Tue, 26 Jun 2007 22:42:11 +0000 (23:42 +0100)
committerRichard P. Curnow <rc@rc0.org.uk>
Tue, 26 Jun 2007 22:42:11 +0000 (23:42 +0100)
commitce4e0a3c2ff795df8d3cdd61b4d14a75a0f5d8e7
treeec722c9e9405f752b757d96375ec3267b2b06045
parent3a8f93792b5361290d21e3f520b33642f00d8ebe
Fix problems with rtc_linux.

2) Changes to rtc_linux.c which a) do a double read of /dev/rtc when the
PPM interupt is turned on after the wait time expires. The current read
does not block to the second, as it should, thus two reads are needed.

Also, changes so that at startup the system properly ignores the last
system time from the initial burst mode for setting the system time since
it can be way off. At present this last system time is included in the
regression, which throws it off until finally that sample is dropped.
rtc_linux.c