diff options
Diffstat (limited to 'host/lib')
| -rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 7 | ||||
| -rw-r--r-- | host/lib/usrp/x300/x300_radio_ctrl_impl.cpp | 7 | ||||
| -rw-r--r-- | host/lib/usrp/x300/x300_radio_ctrl_impl.hpp | 6 | 
3 files changed, 17 insertions, 3 deletions
| diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 0cdc7a3b3..543ac9702 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -960,7 +960,12 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr)          BOOST_FOREACH(const rfnoc::block_id_t &id, radio_ids) {              rfnoc::x300_radio_ctrl_impl::sptr radio(get_block_ctrl<rfnoc::x300_radio_ctrl_impl>(id));              mb.radios.push_back(radio); -            radio->setup_radio(mb.zpu_i2c, mb.clock, dev_addr.has_key("self_cal_adc_delay")); +            radio->setup_radio( +                    mb.zpu_i2c, +                    mb.clock, +                    dev_addr.has_key("ignore-cal-file"), +                    dev_addr.has_key("self_cal_adc_delay") +            );          }          //////////////////////////////////////////////////////////////////// diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp index e1b724db6..88dc73896 100644 --- a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp +++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp @@ -297,9 +297,14 @@ double x300_radio_ctrl_impl::get_output_samp_rate(size_t chan)  /****************************************************************************   * Radio control and setup   ***************************************************************************/ -void x300_radio_ctrl_impl::setup_radio(uhd::i2c_iface::sptr zpu_i2c, x300_clock_ctrl::sptr clock, bool verbose) +void x300_radio_ctrl_impl::setup_radio( +        uhd::i2c_iface::sptr zpu_i2c, +        x300_clock_ctrl::sptr clock, +        bool ignore_cal_file, +        bool verbose)  {      _self_cal_adc_capture_delay(verbose); +    _ignore_cal_file = ignore_cal_file;      ////////////////////////////////////////////////////////////////////      // create RF frontend interfacing diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp index 770519eba..4f7f43b7d 100644 --- a/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp +++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.hpp @@ -73,7 +73,11 @@ public:      /*! Set up the radio. No API calls may be made before this one.       */      void setup_radio( -        uhd::i2c_iface::sptr zpu_i2c, x300_clock_ctrl::sptr clock, bool verbose); +        uhd::i2c_iface::sptr zpu_i2c, +        x300_clock_ctrl::sptr clock, +        bool ignore_cal_file, +        bool verbose +    );      void reset_codec(); | 
