1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 00:14:49 -04:00

Spectrum frequency zoom: Restrict autoscale to visible spectrum area. Added missing images for documentation. Issue #773

This commit is contained in:
f4exb
2021-02-18 06:23:12 +01:00
parent 7ea71996f0
commit a8bba2e95a
5 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ void GLSpectrumGUI::on_autoscale_clicked(bool checked)
}
std::vector<Real> psd;
m_spectrumVis->getPSDCopy(psd);
m_spectrumVis->getZoomedPSDCopy(psd);
int avgRange = m_settings.m_fftSize / 32;
if (psd.size() < (unsigned int) avgRange) {