mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-24 16:54:45 +01:00
fix bad plutosdr bandwidth selection at very high samplerates
This commit is contained in:
parent
00e6832055
commit
e6a02a3944
@ -285,7 +285,7 @@ private:
|
|||||||
iio_channel_attr_write_longlong(rxChan, "rf_bandwidth", bw);
|
iio_channel_attr_write_longlong(rxChan, "rf_bandwidth", bw);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
iio_channel_attr_write_longlong(rxChan, "rf_bandwidth", sampleRate);
|
iio_channel_attr_write_longlong(rxChan, "rf_bandwidth", std::min<int>(sampleRate, 52000000));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user