mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 03:45:07 -05:00
Convert disabled log message in rtc_linux.c to DEBUG_LOG
This commit is contained in:
@@ -285,15 +285,10 @@ slew_samples
|
|||||||
coef_gain_rate = (1.0 + dfreq) * (1.0 + coef_gain_rate) - 1.0;
|
coef_gain_rate = (1.0 + dfreq) * (1.0 + coef_gain_rate) - 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
DEBUG_LOG(LOGF_RtcLinux, "dfreq=%.8f doffset=%.6f old_fast=%.6f old_rate=%.3f new_fast=%.6f new_rate=%.3f",
|
||||||
LOG(LOGS_INFO, LOGF_RtcLinux, "dfreq=%.8f doffset=%.6f old_fast=%.6f old_rate=%.3f new_fast=%.6f new_rate=%.3f",
|
|
||||||
dfreq, doffset,
|
dfreq, doffset,
|
||||||
old_seconds_fast, 1.0e6 * old_gain_rate,
|
old_seconds_fast, 1.0e6 * old_gain_rate,
|
||||||
coef_seconds_fast, 1.0e6 * coef_gain_rate);
|
coef_seconds_fast, 1.0e6 * coef_gain_rate);
|
||||||
#else
|
|
||||||
(void)old_seconds_fast; (void)old_gain_rate;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|||||||
Reference in New Issue
Block a user