mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-26 20:14:19 -04:00
Speed up enumeration / opening USRP B210 by using hardcoded values.
This commit is contained in:
@@ -71,6 +71,12 @@ bool DeviceUSRPParams::open(const QString &deviceStr, bool channelNumOnly)
|
||||
m_srRangeTx = m_dev->get_tx_rates();
|
||||
}
|
||||
}
|
||||
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);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Find max and min sample rate, for max and min master clock rates
|
||||
|
||||
Reference in New Issue
Block a user