1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

SSB demod: corrected SSB spectrum display so that times are displayed correctly in the waterfall

This commit is contained in:
f4exb 2023-07-07 19:29:16 +02:00
parent 040ca0c2d0
commit 812c812678

View File

@ -501,6 +501,7 @@ void SSBDemodGUI::applyBandwidths(unsigned int spanLog2, bool force)
ui->glSpectrum->setSampleRate(2*m_spectrumRate);
spectrumSettings.m_ssb = false;
ui->glSpectrum->setLsbDisplay(false);
ui->glSpectrum->setSsbSpectrum(false);
}
else
{
@ -515,6 +516,7 @@ void SSBDemodGUI::applyBandwidths(unsigned int spanLog2, bool force)
ui->glSpectrum->setSampleRate(m_spectrumRate);
spectrumSettings.m_ssb = true;
ui->glSpectrum->setLsbDisplay(bw < 0);
ui->glSpectrum->setSsbSpectrum(true);
}
SpectrumVis::MsgConfigureSpectrumVis *msg = SpectrumVis::MsgConfigureSpectrumVis::create(spectrumSettings, false);