mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
Spectrum averaging: fixed average (4): fixed averaging combo index setting
This commit is contained in:
parent
9913d550e0
commit
69ab133b6e
@ -138,7 +138,7 @@ bool GLSpectrumGUI::deserialize(const QByteArray& data)
|
||||
d.readS32(19, &tmp, 0);
|
||||
m_averagingMode = tmp < 0 ? AvgModeMoving : tmp > 1 ? AvgModeFixed : (AveragingMode) tmp;
|
||||
d.readS32(20, &tmp, 0);
|
||||
m_averagingIndex = getAveragingValue(tmp);
|
||||
m_averagingIndex = getAveragingIndex(tmp);
|
||||
m_averagingNb = getAveragingValue(m_averagingIndex);
|
||||
|
||||
m_glSpectrum->setWaterfallShare(waterfallShare);
|
||||
|
Loading…
Reference in New Issue
Block a user