diff options
Diffstat (limited to 'host/lib/usrp')
| -rw-r--r-- | host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp | 12 | ||||
| -rw-r--r-- | host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp | 3 | 
2 files changed, 5 insertions, 10 deletions
diff --git a/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp b/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp index ef86f10b6..f0558f8a4 100644 --- a/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp +++ b/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp @@ -190,7 +190,7 @@ void zbx_dboard_impl::_init_prop_tree()          _cpld);      subtree->create<eeprom_map_t>("eeprom") -        .add_coerced_subscriber([this](const eeprom_map_t&) { +        .add_coerced_subscriber([](const eeprom_map_t&) {              throw uhd::runtime_error("Attempting to update daughterboard eeprom!");          })          .set_publisher([this]() { return get_db_eeprom(); }); @@ -261,8 +261,7 @@ uhd::usrp::pwr_cal_mgr::sptr zbx_dboard_impl::_init_power_cal(              return trx == TX_DIRECTION ? get_tx_frequency(chan_idx)                                         : get_rx_frequency(chan_idx);          }, -        [this, -            trx_str = (trx == TX_DIRECTION ? "tx" : "rx"), +        [trx_str = (trx == TX_DIRECTION ? "tx" : "rx"),              fe_path,              subtree,              chan_str = std::to_string(chan_idx)]() -> std::string { @@ -327,16 +326,15 @@ void zbx_dboard_impl::_init_experts(uhd::property_tree::sptr subtree,          expert_factory::add_worker_node<zbx_rx_gain_expert>(expert,              expert->node_retriever(),              fe_path, -            chan_idx,              get_pwr_mgr(trx).at(chan_idx),              _rx_dsa_cal);      }      expert_factory::add_worker_node<zbx_freq_be_expert>( -        expert, expert->node_retriever(), fe_path, trx, chan_idx); +        expert, expert->node_retriever(), fe_path);      expert_factory::add_worker_node<zbx_band_inversion_expert>( -        expert, expert->node_retriever(), fe_path, trx, chan_idx, _db_idx, _rpcc); +        expert, expert->node_retriever(), fe_path, trx, chan_idx, _rpcc);      // Initialize our LO Control Experts @@ -365,8 +363,6 @@ void zbx_dboard_impl::_init_experts(uhd::property_tree::sptr subtree,              expert_factory::add_worker_node<zbx_lo_expert>(expert,                  expert->node_retriever(),                  fe_path, -                trx, -                chan_idx,                  lo_select,                  lo_ctrl);              _lo_ctrl_map.insert({lo, lo_ctrl}); diff --git a/host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp b/host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp index 1af665207..4fe2a243d 100644 --- a/host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp +++ b/host/lib/usrp/dboard/zbx/zbx_lo_ctrl.cpp @@ -18,8 +18,7 @@ zbx_lo_ctrl::zbx_lo_ctrl(zbx_lo_t lo,      const double default_frequency,      const double db_prc_rate,      const bool testing_mode_enabled) -    : _lo(lo) -    , _log_id(ZBX_LO_LOG_ID.at(lo)) +    : _log_id(ZBX_LO_LOG_ID.at(lo))      , _freq(default_frequency)      , _db_prc_rate(db_prc_rate)      , _testing_mode_enabled(testing_mode_enabled)  | 
