1
0
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:
Evan Older 2026-04-20 19:11:07 -04:00 committed by GitHub
parent 82b43ff2f4
commit 01013449bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
{