move clock related logs to trace
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user