aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-01-22 20:22:23 +0100
committerMartin Braun <martin.braun@ettus.com>2015-01-22 20:22:23 +0100
commite97c4c72d88d3b5b0744c1f76813c9950fe6f820 (patch)
tree13a3524ed51886ba572c4bc8798d3af9066401e5 /host/utils
parent33a560a00241294ffd55fb050a0db42327ef1d4e (diff)
parent9c3cdb6ee831f164e5a8734a71ad3cd5543719ac (diff)
downloaduhd-e97c4c72d88d3b5b0744c1f76813c9950fe6f820.tar.gz
uhd-e97c4c72d88d3b5b0744c1f76813c9950fe6f820.tar.bz2
uhd-e97c4c72d88d3b5b0744c1f76813c9950fe6f820.zip
Merge branch 'maint'
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/usrp_cal_utils.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/host/utils/usrp_cal_utils.hpp b/host/utils/usrp_cal_utils.hpp
index 6673b6329..c027a4785 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -87,7 +87,8 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp)
if (tx_name.find("WBX") == std::string::npos and
tx_name.find("SBX") == std::string::npos and
tx_name.find("CBX") == std::string::npos and
- tx_name.find("RFX") == std::string::npos
+ tx_name.find("RFX") == std::string::npos and
+ tx_name.find("UBX") == std::string::npos
)
{
throw std::runtime_error("self-calibration is not supported for this TX dboard");
@@ -99,7 +100,8 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp)
if (rx_name.find("WBX") == std::string::npos and
rx_name.find("SBX") == std::string::npos and
rx_name.find("CBX") == std::string::npos and
- rx_name.find("RFX") == std::string::npos
+ rx_name.find("RFX") == std::string::npos and
+ rx_name.find("UBX") == std::string::npos
)
{
throw std::runtime_error("self-calibration is not supported for this RX dboard");