aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/usrp_cal_utils.hpp
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2015-01-21 16:44:11 -0800
committerMartin Braun <martin.braun@ettus.com>2015-01-22 20:10:02 +0100
commit4dc90d5a1e03597799f41e47f030e4bcddb7d57e (patch)
tree54cc22ba0961c609ab3bd5b68d55bd9f3221bf39 /host/utils/usrp_cal_utils.hpp
parentcc5dd14e8b2176b55a40f6a7ac210f72d9f14995 (diff)
downloaduhd-4dc90d5a1e03597799f41e47f030e4bcddb7d57e.tar.gz
uhd-4dc90d5a1e03597799f41e47f030e4bcddb7d57e.tar.bz2
uhd-4dc90d5a1e03597799f41e47f030e4bcddb7d57e.zip
UBX: Add UBX Support
Diffstat (limited to 'host/utils/usrp_cal_utils.hpp')
-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");