mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-30 03:38:55 -05:00
SSB demod: fixed BW and Low cut limits
This commit is contained in:
parent
4de446053d
commit
10c7e1e442
@ -369,10 +369,10 @@ bool SSBDemodGUI::setNewRate(int spanLog2)
|
|||||||
m_channelMarker.setLowCutoff(m_rate);
|
m_channelMarker.setLowCutoff(m_rate);
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->BW->setMinimum(-m_rate/200);
|
ui->BW->setMinimum(-m_rate/100);
|
||||||
ui->lowCut->setMinimum(-m_rate/200);
|
ui->lowCut->setMinimum(-m_rate/100);
|
||||||
ui->BW->setMaximum(m_rate/200);
|
ui->BW->setMaximum(m_rate/100);
|
||||||
ui->lowCut->setMaximum(m_rate/200);
|
ui->lowCut->setMaximum(m_rate/100);
|
||||||
|
|
||||||
QString s = QString::number(m_rate/1000.0, 'f', 1);
|
QString s = QString::number(m_rate/1000.0, 'f', 1);
|
||||||
ui->spanText->setText(tr("%1k").arg(s));
|
ui->spanText->setText(tr("%1k").arg(s));
|
||||||
|
Loading…
Reference in New Issue
Block a user