aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/usrp_cal_utils.hpp
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2018-12-20 16:24:46 -0600
committerBrent Stapleton <brent.stapleton@ettus.com>2019-01-09 11:47:07 -0800
commita490455abc5771ef3544f55597c209fde19cba4d (patch)
tree847e0a5672ff5929e2a6fcd435b3ec5b03dcc27f /host/utils/usrp_cal_utils.hpp
parent34f54d3ec7371ba251a2e901638eaae07f3b4cda (diff)
downloaduhd-a490455abc5771ef3544f55597c209fde19cba4d.tar.gz
uhd-a490455abc5771ef3544f55597c209fde19cba4d.tar.bz2
uhd-a490455abc5771ef3544f55597c209fde19cba4d.zip
uhd: update cal utilities to support rhodium
Diffstat (limited to 'host/utils/usrp_cal_utils.hpp')
-rw-r--r--host/utils/usrp_cal_utils.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/host/utils/usrp_cal_utils.hpp b/host/utils/usrp_cal_utils.hpp
index 8fde78e1f..ebd1400b7 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -54,7 +54,8 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp)
mb_name.find("N200") != std::string::npos or
mb_name.find("N210") != std::string::npos or
mb_name.find("X300") != std::string::npos or
- mb_name.find("X310") != std::string::npos)
+ mb_name.find("X310") != std::string::npos or
+ mb_name.find("n3xx") != std::string::npos)
{
usrp->set_tx_rate(12.5e6);
usrp->set_rx_rate(12.5e6);
@@ -75,7 +76,8 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp)
tx_name.find("SBX") == std::string::npos and
tx_name.find("CBX") == std::string::npos and
tx_name.find("RFX") == std::string::npos and
- tx_name.find("UBX") == std::string::npos
+ tx_name.find("UBX") == std::string::npos and
+ tx_name.find("Rhodium") == std::string::npos
)
{
throw std::runtime_error("self-calibration is not supported for this TX dboard");
@@ -88,7 +90,8 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp)
rx_name.find("SBX") == std::string::npos and
rx_name.find("CBX") == std::string::npos and
rx_name.find("RFX") == std::string::npos and
- rx_name.find("UBX") == std::string::npos
+ rx_name.find("UBX") == std::string::npos and
+ rx_name.find("Rhodium") == std::string::npos
)
{
throw std::runtime_error("self-calibration is not supported for this RX dboard");