1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

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

This commit is contained in:
f4exb 2023-07-07 19:30:38 +02:00
parent 812c812678
commit bf76041969

View File

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