1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-27 15:26:33 -04:00

FT8 demod GUI: display channel marker in correct stream if connected to a MIMO device

This commit is contained in:
f4exb 2023-01-30 23:58:56 +01:00
parent 33156b9f66
commit 4fda00b2c1

View File

@ -768,12 +768,15 @@ void FT8DemodGUI::displaySettings()
m_channelMarker.setTitle(m_settings.m_title);
m_channelMarker.setLowCutoff(m_settings.m_filterBank[m_settings.m_filterIndex].m_lowCutoff);
if (m_settings.m_filterBank[m_settings.m_filterIndex].m_rfBandwidth < 0)
if (m_deviceUISet->m_deviceMIMOEngine)
{
m_channelMarker.setSidebands(ChannelMarker::lsb);
m_channelMarker.clearStreamIndexes();
m_channelMarker.addStreamIndex(m_settings.m_streamIndex);
}
else
{
if (m_settings.m_filterBank[m_settings.m_filterIndex].m_rfBandwidth < 0) {
m_channelMarker.setSidebands(ChannelMarker::lsb);
} else {
m_channelMarker.setSidebands(ChannelMarker::usb);
}