Extend history buffer for flexible data storage frequency

This commit is contained in:
Ulrich Meine
2026-05-31 21:32:39 +02:00
parent d0fe7a2d9b
commit 01ff478c29
4 changed files with 32 additions and 14 deletions
+7
View File
@@ -106,6 +106,13 @@ String RingBuffer<T>::getFormat() const
return dataFmt;
}
// Get buffer update frequency
template <typename T>
int RingBuffer<T>::getUpdFreq() const
{
return updFreq;
}
// Add a new value to buffer
template <typename T>
void RingBuffer<T>::add(const double& value)