diff options
author | Josh Blum <josh@joshknows.com> | 2013-07-15 15:35:08 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2013-07-15 15:35:08 -0700 |
commit | 1f97c6c1e1ed05dbef94f74f52f1ed3370ebfd26 (patch) | |
tree | ba52019f6379da0aea5db1cf1ea32be802a4c79d /host/utils | |
parent | 4322666dc134998c1420ee00c6e01eddc207e5b4 (diff) | |
download | uhd-1f97c6c1e1ed05dbef94f74f52f1ed3370ebfd26.tar.gz uhd-1f97c6c1e1ed05dbef94f74f52f1ed3370ebfd26.tar.bz2 uhd-1f97c6c1e1ed05dbef94f74f52f1ed3370ebfd26.zip |
cbx: added support for cal utils
Diffstat (limited to 'host/utils')
-rw-r--r-- | host/utils/usrp_cal_utils.hpp | 6 |
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); } |