1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Spectrum averaging (2): moving average

This commit is contained in:
f4exb
2018-06-30 22:30:42 +02:00
parent 9fee7b49b5
commit e9658e0346
9 changed files with 348 additions and 161 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ public:
T storeAndGetAvg(T v, unsigned int index)
{
if (m_depth == 1)
if (m_depth <= 1)
{
return v;
}