diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-01-22 20:22:23 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-01-22 20:22:23 +0100 |
commit | e97c4c72d88d3b5b0744c1f76813c9950fe6f820 (patch) | |
tree | 13a3524ed51886ba572c4bc8798d3af9066401e5 /host/utils | |
parent | 33a560a00241294ffd55fb050a0db42327ef1d4e (diff) | |
parent | 9c3cdb6ee831f164e5a8734a71ad3cd5543719ac (diff) | |
download | uhd-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.hpp | 6 |
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"); |