Don't call driver read_freq in LCL_ReadAbsoluteFrequency

This commit is contained in:
Miroslav Lichvar 2011-06-14 20:45:48 +02:00
parent 103a520aa6
commit 22fda21eae

View file

@ -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) {