mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-27 22:14:26 -04:00
FSK tweaks, minimum bandwidth adjust
This commit is contained in:
@@ -173,8 +173,8 @@ int DemodulatorMgr::getLastBandwidth() const {
|
||||
}
|
||||
|
||||
void DemodulatorMgr::setLastBandwidth(int lastBandwidth) {
|
||||
if (lastBandwidth < 1500) {
|
||||
lastBandwidth = 1500;
|
||||
if (lastBandwidth < MIN_BANDWIDTH) {
|
||||
lastBandwidth = MIN_BANDWIDTH;
|
||||
} else if (lastBandwidth > wxGetApp().getSampleRate()) {
|
||||
lastBandwidth = wxGetApp().getSampleRate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user