mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
SSB demod: corrected SSB spectrum display so that times are displayed correctly in the waterfall
This commit is contained in:
parent
040ca0c2d0
commit
812c812678
@ -501,6 +501,7 @@ void SSBDemodGUI::applyBandwidths(unsigned 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
|
||||||
{
|
{
|
||||||
@ -515,6 +516,7 @@ void SSBDemodGUI::applyBandwidths(unsigned 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);
|
||||||
|
Loading…
Reference in New Issue
Block a user