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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user