lib/timout: fix interpolation optimization

Issue #4960
This commit is contained in:
Tomasz Gajewski 2023-10-21 21:43:50 +02:00 committed by Christian Helmuth
parent 02753b3c2c
commit 002eb6f649

View File

@ -66,6 +66,7 @@ void Timer::Connection::_update_real_time()
if (new_latency_us < latency_us) {
us = new_us;
ts = new_ts;
latency_us = new_latency_us;
/* take the results if the latency fulfills the given maximum */
if (latency_us < MAX_REMOTE_TIME_LATENCY_US) {