Don't log error on opening driftfile
Log frequency and skew values read from the driftfile instead.
This commit is contained in:
parent
cb9055072d
commit
3fbd4bb15f
1 changed files with 1 additions and 3 deletions
|
@ -138,6 +138,7 @@ REF_Initialise(void)
|
||||||
/* We have read valid data */
|
/* We have read valid data */
|
||||||
our_frequency_ppm = file_freq_ppm;
|
our_frequency_ppm = file_freq_ppm;
|
||||||
our_skew = 1.0e-6 * file_skew_ppm;
|
our_skew = 1.0e-6 * file_skew_ppm;
|
||||||
|
LOG(LOGS_INFO, LOGF_Reference, "Frequency %.3f +- %.3f ppm read from %s", file_freq_ppm, file_skew_ppm, drift_file);
|
||||||
} else {
|
} else {
|
||||||
LOG(LOGS_WARN, LOGF_Reference, "Could not parse valid frequency and skew from driftfile %s",
|
LOG(LOGS_WARN, LOGF_Reference, "Could not parse valid frequency and skew from driftfile %s",
|
||||||
drift_file);
|
drift_file);
|
||||||
|
@ -147,9 +148,6 @@ REF_Initialise(void)
|
||||||
drift_file);
|
drift_file);
|
||||||
}
|
}
|
||||||
fclose(in);
|
fclose(in);
|
||||||
} else {
|
|
||||||
LOG(LOGS_WARN, LOGF_Reference, "Could not open driftfile %s for reading",
|
|
||||||
drift_file);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
drift_file_age = 0.0;
|
drift_file_age = 0.0;
|
||||||
|
|
Loading…
Reference in a new issue