move clock related logs to trace

This commit is contained in:
Patrick Nicolas
2024-12-13 22:17:03 +01:00
parent dc4a00f2d5
commit 2557920756
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ void clock_offset_estimator::add_sample(const wivrn::from_headset::timesync_resp
offset.stable = std::abs((b - (double)offset.b)) < 20'000'000;
offset.b = b;
U_LOG_D("clock relations: headset = x+b where b=%" PRIu64 "µs", offset.b / 1000);
U_LOG_T("clock relations: headset = x+b where b=%" PRIu64 "µs", offset.b / 1000);
}
clock_offset clock_offset_estimator::get_offset()
+1 -1
View File
@@ -65,7 +65,7 @@ protected:
// keep only one sample if the clock_offset is unreliable
if (not offset)
{
U_LOG_D("not using history: clock_offset not stable");
U_LOG_T("not using history: clock_offset not stable");
data.clear();
data.emplace_back(sample, produced, t);
return active;