...
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user