Don't call driver read_freq in LCL_ReadAbsoluteFrequency
This commit is contained in:
parent
103a520aa6
commit
22fda21eae
1 changed files with 2 additions and 2 deletions
4
local.c
4
local.c
|
@ -358,14 +358,14 @@ LCL_GetOffsetCorrection(struct timeval *raw, double *correction, double *err)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
/* This is just a simple passthrough of the system specific routine */
|
/* Return current frequency */
|
||||||
|
|
||||||
double
|
double
|
||||||
LCL_ReadAbsoluteFrequency(void)
|
LCL_ReadAbsoluteFrequency(void)
|
||||||
{
|
{
|
||||||
double freq;
|
double freq;
|
||||||
|
|
||||||
freq = (*drv_read_freq)();
|
freq = current_freq_ppm;
|
||||||
|
|
||||||
/* Undo temperature compensation */
|
/* Undo temperature compensation */
|
||||||
if (temp_comp_ppm != 0.0) {
|
if (temp_comp_ppm != 0.0) {
|
||||||
|
|
Loading…
Reference in a new issue