From 9b10eb85e65eabc85f9869fba13066fd1763eedb Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 12 Aug 2016 17:07:01 -0700 Subject: x300 radio: Fixed typo for frontend regs --- host/lib/usrp/x300/x300_radio_ctrl_impl.cpp | 2 +- host/lib/usrp/x300/x300_radio_ctrl_impl.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib') 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); -- cgit v1.2.3