blob: 76cc7e5dffae7582aff259283fc8dd0534996e7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
diff --git a/src/qtgui/ioconfig.cpp b/src/qtgui/ioconfig.cpp
index e4fdd8f..ad072a1 100644
--- a/src/qtgui/ioconfig.cpp
+++ b/src/qtgui/ioconfig.cpp
@@ -384,8 +384,6 @@ void CIoConfig::updateInputSampleRates(int rate)
}
else if (ui->inDevEdit->text().contains("bladerf"))
{
- if (rate > 0)
- ui->inSrCombo->addItem(QString("%1").arg(rate));
ui->inSrCombo->addItem("160000");
ui->inSrCombo->addItem("250000");
ui->inSrCombo->addItem("500000");
@@ -400,6 +398,17 @@ void CIoConfig::updateInputSampleRates(int rate)
ui->inSrCombo->addItem("30000000");
ui->inSrCombo->addItem("35000000");
ui->inSrCombo->addItem("40000000");
+ ui->inSrCombo->addItem("45000000");
+ ui->inSrCombo->addItem("50000000");
+ ui->inSrCombo->addItem("55000000");
+ ui->inSrCombo->addItem("60000000");
+ if (rate > 0)
+ {
+ ui->inSrCombo->insertItem(0, QString("%1").arg(rate));
+ ui->inSrCombo->setCurrentIndex(0);
+ }
+ else
+ ui->inSrCombo->setCurrentIndex(5); // select 5 MHz
}
else if (ui->inDevEdit->text().contains("sdr-iq"))
{
|