mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-10 06:18:57 -05:00
Frequency dialog bw limit check
This commit is contained in:
parent
63631cd255
commit
2f0bbef234
@ -158,6 +158,9 @@ void FrequencyDialog::OnChar(wxKeyEvent& event) {
|
||||
if (lastDemodType == "USB" || lastDemodType == "LSB") {
|
||||
freq *= 2;
|
||||
}
|
||||
if (freq > CHANNELIZER_RATE_MAX) {
|
||||
freq = CHANNELIZER_RATE_MAX;
|
||||
}
|
||||
if (activeDemod) {
|
||||
activeDemod->setBandwidth(freq);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user