aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-06-22 14:57:25 -0700
committerJosh Blum <josh@joshknows.com>2012-06-22 14:57:25 -0700
commit215a2a2df871f32e3f60ee26fe9a3847050642df (patch)
treee4c0745fe7eb13156dc498a4f2e89a977a5fd18e /host/utils
parent8618af163e906c4b2224faabeb998c000a029855 (diff)
downloaduhd-215a2a2df871f32e3f60ee26fe9a3847050642df.tar.gz
uhd-215a2a2df871f32e3f60ee26fe9a3847050642df.tar.bz2
uhd-215a2a2df871f32e3f60ee26fe9a3847050642df.zip
uhd: boost RX gain for RFX calibration
Diffstat (limited to 'host/utils')
-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 43eca4d46..26c140d27 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -90,7 +90,7 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp){
usrp->set_rx_gain(25);
}
if (rx_name.find("RFX") != std::string::npos){
- usrp->set_rx_gain(0);
+ usrp->set_rx_gain(25);
}
else{
throw std::runtime_error("self-calibration is not supported for this hardware");