aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalint Seeber <balint@ettus.com>2013-03-13 13:20:57 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-03-18 12:42:41 -0700
commit2b84132d44789d00e171298f499ff01880fa64cd (patch)
tree1cc5905302f22d72f9d7146dd7291464642af118
parent4a320f31432f8f7c50456a20c4de0ca9b0dde017 (diff)
downloaduhd-2b84132d44789d00e171298f499ff01880fa64cd.tar.gz
uhd-2b84132d44789d00e171298f499ff01880fa64cd.tar.bz2
uhd-2b84132d44789d00e171298f499ff01880fa64cd.zip
cal: fixed typo that selects correct RX front-end in cal utils header (typo from copy-pasta still selected TX front-end)
-rw-r--r--host/utils/usrp_cal_utils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/usrp_cal_utils.hpp b/host/utils/usrp_cal_utils.hpp
index 825d94d64..ba9ebe35a 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -75,7 +75,7 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp){
throw std::runtime_error("self-calibration is not supported for this hardware");
}
- const uhd::fs_path rx_fe_path = "/mboards/0/dboards/A/tx_frontends/0";
+ const uhd::fs_path rx_fe_path = "/mboards/0/dboards/A/rx_frontends/0";
const std::string rx_name = tree->access<std::string>(rx_fe_path / "name").get();
if (rx_name.find("WBX") != std::string::npos or rx_name.find("SBX") != std::string::npos){
usrp->set_rx_gain(25);