aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-08-12 17:07:01 -0700
committerMartin Braun <martin.braun@ettus.com>2016-08-12 17:07:01 -0700
commit9b10eb85e65eabc85f9869fba13066fd1763eedb (patch)
tree58af0f8e57417820f70718daa369cc0c1cfe4b54 /host
parent73bc3051001628967a07339d0e16503e7e767953 (diff)
downloaduhd-9b10eb85e65eabc85f9869fba13066fd1763eedb.tar.gz
uhd-9b10eb85e65eabc85f9869fba13066fd1763eedb.tar.bz2
uhd-9b10eb85e65eabc85f9869fba13066fd1763eedb.zip
x300 radio: Fixed typo for frontend regs
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/x300/x300_radio_ctrl_impl.cpp2
-rw-r--r--host/lib/usrp/x300/x300_radio_ctrl_impl.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp
index 388b66929..e1b724db6 100644
--- a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp
@@ -109,7 +109,7 @@ UHD_RFNOC_RADIO_BLOCK_CONSTRUCTOR(x300_radio_ctrl)
// create front-end objects
////////////////////////////////////////////////////////////////
for (size_t i = 0; i < _get_num_radios(); i++) {
- _rx_fe_map[i].core = rx_frontend_core_3000::make(_get_ctrl(i), regs::sr_addr(x300_regs::RX_RE_BASE));
+ _rx_fe_map[i].core = rx_frontend_core_3000::make(_get_ctrl(i), regs::sr_addr(x300_regs::RX_FE_BASE));
_rx_fe_map[i].core->set_adc_rate(_radio_clk_rate);
_rx_fe_map[i].core->set_dc_offset(rx_frontend_core_3000::DEFAULT_DC_OFFSET_VALUE);
_rx_fe_map[i].core->set_dc_offset_auto(rx_frontend_core_3000::DEFAULT_DC_OFFSET_ENABLE);
diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
index ff41096bd..770519eba 100644
--- a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
+++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp
@@ -143,7 +143,7 @@ private:
struct x300_regs {
static const uint32_t TX_FE_BASE = 224;
- static const uint32_t RX_RE_BASE = 232;
+ static const uint32_t RX_FE_BASE = 232;
};
void _update_atr_leds(const std::string &rx_ant);