mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-03 05:37:55 -04:00
Fix spectrum visual failure below 1% averaging speed
This commit is contained in:
parent
b41d0a3613
commit
91a6e45ed3
@ -746,6 +746,9 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
|
|||||||
|
|
||||||
if (spectrumAvgMeter->inputChanged()) {
|
if (spectrumAvgMeter->inputChanged()) {
|
||||||
float val = spectrumAvgMeter->getInputValue();
|
float val = spectrumAvgMeter->getInputValue();
|
||||||
|
if (val < 0.01) {
|
||||||
|
val = 0.01;
|
||||||
|
}
|
||||||
spectrumAvgMeter->setLevel(val);
|
spectrumAvgMeter->setLevel(val);
|
||||||
proc->setFFTAverageRate(val);
|
proc->setFFTAverageRate(val);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user