mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:55:07 -05:00
Return actual frequency in drv_set_freq functions
This is needed to keep sourcestats accurate when the actual frequency is different from the requested frequency due to clamping (or possibly rounding in future system drivers).
This commit is contained in:
@@ -54,7 +54,7 @@ read_timeout(void *arg)
|
||||
|
||||
/* Don't allow corrections above 10 ppm */
|
||||
if (fabs(comp) < 10.0) {
|
||||
LCL_SetTempComp(comp);
|
||||
comp = LCL_SetTempComp(comp);
|
||||
|
||||
if (logfileid != -1) {
|
||||
struct timeval now;
|
||||
|
||||
Reference in New Issue
Block a user