aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-07-15 15:35:08 -0700
committerJosh Blum <josh@joshknows.com>2013-07-15 15:35:08 -0700
commit1f97c6c1e1ed05dbef94f74f52f1ed3370ebfd26 (patch)
treeba52019f6379da0aea5db1cf1ea32be802a4c79d /host
parent4322666dc134998c1420ee00c6e01eddc207e5b4 (diff)
downloaduhd-1f97c6c1e1ed05dbef94f74f52f1ed3370ebfd26.tar.gz
uhd-1f97c6c1e1ed05dbef94f74f52f1ed3370ebfd26.tar.bz2
uhd-1f97c6c1e1ed05dbef94f74f52f1ed3370ebfd26.zip
cbx: added support for cal utils
Diffstat (limited to 'host')
-rw-r--r--host/utils/usrp_cal_utils.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/utils/usrp_cal_utils.hpp b/host/utils/usrp_cal_utils.hpp
index bda6fc31b..bab6ddd91 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -77,6 +77,9 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp){
else if (tx_name.find("SBX") != std::string::npos){
usrp->set_tx_gain(0);
}
+ else if (tx_name.find("CBX") != std::string::npos){
+ usrp->set_tx_gain(0);
+ }
else if (tx_name.find("RFX") != std::string::npos){
usrp->set_tx_gain(0);
}
@@ -92,6 +95,9 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp){
else if (rx_name.find("SBX") != std::string::npos){
usrp->set_rx_gain(25);
}
+ else if (rx_name.find("CBX") != std::string::npos){
+ usrp->set_rx_gain(25);
+ }
else if (rx_name.find("RFX") != std::string::npos){
usrp->set_rx_gain(25);
}