mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
Add FRS-GMRS presets
This commit is contained in:
parent
25a45e3cf3
commit
c1e20e48f4
@ -74,6 +74,18 @@ void FreqScannerAddRangeDialog::accept()
|
|||||||
};
|
};
|
||||||
m_frequencies.append(dabFreqs);
|
m_frequencies.append(dabFreqs);
|
||||||
}
|
}
|
||||||
|
else if (ui->preset->currentText() == "FRS-GMRS")
|
||||||
|
{
|
||||||
|
static const QList<qint64> FRS_GMRSFreqs = {
|
||||||
|
462562500, 462587500, 462612500, 462637500, // FRS1, FRS2, FRS3, FRS4
|
||||||
|
462662500, 462687500, 462712500, 467562500, // FRS5, FRS6, FRS7, FRS8
|
||||||
|
467587500, 467612500, 467637500, 467662500, // FRS9, FRS10, FRS11, FRS12
|
||||||
|
467687500, 467712500, 462550000, 462575000, // FRS13, FRS14, FRS15, FRS16
|
||||||
|
462600000, 462625000, 462650000, 462675000, // FRS17, FRS18, FRS19, FRS20
|
||||||
|
462700000, 462725000 // FRS21, FRS22
|
||||||
|
};
|
||||||
|
m_frequencies.append(FRS_GMRSFreqs);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
qint64 start = ui->start->getValue();
|
qint64 start = ui->start->getValue();
|
||||||
@ -130,6 +142,10 @@ void FreqScannerAddRangeDialog::on_preset_currentTextChanged(const QString& text
|
|||||||
{
|
{
|
||||||
enableManAdjust = false;
|
enableManAdjust = false;
|
||||||
}
|
}
|
||||||
|
else if (text == "FRS-GMRS")
|
||||||
|
{
|
||||||
|
enableManAdjust = false;
|
||||||
|
}
|
||||||
ui->start->setEnabled(enableManAdjust);
|
ui->start->setEnabled(enableManAdjust);
|
||||||
ui->stop->setEnabled(enableManAdjust);
|
ui->stop->setEnabled(enableManAdjust);
|
||||||
ui->step->setEnabled(enableManAdjust);
|
ui->step->setEnabled(enableManAdjust);
|
||||||
|
@ -193,6 +193,11 @@
|
|||||||
<string>Marine</string>
|
<string>Marine</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>FRS-GMRS</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
Loading…
Reference in New Issue
Block a user