Add rtcsync directive

The directive enables the 11 minute kernel mode. It cannot be used
when the normal RTC tracking is enabled.
This commit is contained in:
Miroslav Lichvar
2010-05-14 14:41:11 +02:00
parent 5fb0a9d53b
commit a080d00352
8 changed files with 74 additions and 10 deletions

4
rtc.c
View File

@@ -86,6 +86,10 @@ RTC_Initialise(void)
file_name = CNF_GetRtcFile();
if (file_name) {
if (CNF_GetRTCSync()) {
LOG_FATAL(LOGF_Rtc, "rtcfile directive cannot be used with rtcsync");
}
if (driver.init) {
if ((driver.init)()) {
ok = 1;