mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-05-14 13:22:16 -04:00
USRP: B210: fix sample rate range upper bound
Ettus B210 has a maximum sampling rate of 61.44MSPS. Exceeding this limit results in unexpected behavior. Prevent this from occurring by decreasing the maximum sample rate by from 61.444MSP to 61.44MSP (-4k).
This commit is contained in:
parent
82b43ff2f4
commit
01013449bb
@ -74,8 +74,8 @@ bool DeviceUSRPParams::open(const QString &deviceStr, bool channelNumOnly)
|
||||
else if (deviceStr.contains("product=B210"))
|
||||
{
|
||||
// Auto-calculation below can be slow, so use hardcoded values for B210
|
||||
m_srRangeRx = uhd::meta_range_t(1e5, 61.444e6);
|
||||
m_srRangeTx = uhd::meta_range_t(1e5, 61.444e6);
|
||||
m_srRangeRx = uhd::meta_range_t(1e5, 61.44e6);
|
||||
m_srRangeTx = uhd::meta_range_t(1e5, 61.44e6);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user