aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-11-08 11:38:19 -0800
committerMartin Braun <martin.braun@ettus.com>2018-03-16 10:48:46 -0700
commit60a911cd460ca1e29d838ee0039d67bf7c8fe7f3 (patch)
tree05182107d71ca74cb380c4081230b1130c797ec8 /host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
parent86dbaee5b80f203d1a9f28ced0307035d18368fa (diff)
downloaduhd-60a911cd460ca1e29d838ee0039d67bf7c8fe7f3.tar.gz
uhd-60a911cd460ca1e29d838ee0039d67bf7c8fe7f3.tar.bz2
uhd-60a911cd460ca1e29d838ee0039d67bf7c8fe7f3.zip
rfnoc/x300: Make sure peek32() and peek64() are called with actual addresses
Before, we were calling peeks with the number of the readback register.
Diffstat (limited to 'host/lib/usrp/x300/x300_radio_ctrl_impl.hpp')
-rw-r--r--host/lib/usrp/x300/x300_radio_ctrl_impl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
index ead546a63..967ed5772 100644
--- a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
+++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
@@ -145,7 +145,7 @@ private:
UHD_DEFINE_SOFT_REG_FIELD(ADC_CHECKER1_Q_ERROR, /*width*/ 1, /*shift*/ 38); //[6]
UHD_DEFINE_SOFT_REG_FIELD(ADC_CHECKER1_I_ERROR, /*width*/ 1, /*shift*/ 39); //[7]
- misc_ins_reg_t(): uhd::soft_reg64_ro_t(regs::RB_MISC_IO) { }
+ misc_ins_reg_t(): uhd::soft_reg64_ro_t(regs::rb_addr(regs::RB_MISC_IO)) { }
} misc_ins_reg;
radio_regmap_t(int radio_num) : soft_regmap_t("radio" + std::to_string(radio_num) + "_regmap") {