From 4dc90d5a1e03597799f41e47f030e4bcddb7d57e Mon Sep 17 00:00:00 2001 From: michael-west Date: Wed, 21 Jan 2015 16:44:11 -0800 Subject: UBX: Add UBX Support --- host/utils/usrp_cal_utils.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'host/utils/usrp_cal_utils.hpp') 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"); -- cgit v1.2.3