mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
BladeRF doesn't support transverter, so fix to 7 digits
This commit is contained in:
parent
549d448ba7
commit
025dddc637
@ -348,19 +348,11 @@ void Bladerf1OutputGui::on_xb200_currentIndexChanged(int index)
|
||||
|
||||
if (m_settings.m_xb200)
|
||||
{
|
||||
if (m_settings.m_transverterMode) {
|
||||
ui->centerFrequency->setValueRange(9, BLADERF_FREQUENCY_MIN_XB200/1000, BLADERF_FREQUENCY_MAX/1000);
|
||||
} else {
|
||||
ui->centerFrequency->setValueRange(7, BLADERF_FREQUENCY_MIN_XB200/1000, BLADERF_FREQUENCY_MAX/1000);
|
||||
}
|
||||
ui->centerFrequency->setValueRange(7, BLADERF_FREQUENCY_MIN_XB200/1000, BLADERF_FREQUENCY_MAX/1000);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_settings.m_transverterMode) {
|
||||
ui->centerFrequency->setValueRange(9, BLADERF_FREQUENCY_MIN/1000, BLADERF_FREQUENCY_MAX/1000);
|
||||
} else {
|
||||
ui->centerFrequency->setValueRange(7, BLADERF_FREQUENCY_MIN/1000, BLADERF_FREQUENCY_MAX/1000);
|
||||
}
|
||||
ui->centerFrequency->setValueRange(7, BLADERF_FREQUENCY_MIN/1000, BLADERF_FREQUENCY_MAX/1000);
|
||||
}
|
||||
|
||||
sendSettings();
|
||||
|
Loading…
Reference in New Issue
Block a user