This commit is contained in:
2025-09-16 19:06:37 +03:00
parent 732cd33947
commit 4e3a50acba
3 changed files with 10 additions and 10 deletions

View File

@@ -385,7 +385,7 @@ public:
template <traits::mcc_time_duration_c DT>
DT telemetryDataUpdateInterval() const
{
std::lock_guard lock{_currentUpdateIntervalMutex};
std::lock_guard lock{*_currentUpdateIntervalMutex};
return std::chrono::duration_cast<DT>(_currentUpdateInterval);
}
@@ -426,7 +426,7 @@ public:
}
{
std::lock_guard lock{_currentUpdateIntervalMutex};
std::lock_guard lock{*_currentUpdateIntervalMutex};
// compute it here because of possible changing _currentUpdateInterval
auto sleep_td = _currentUpdateInterval / internalUpdatingIntervalDiv;