diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-11-13 15:50:39 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:05 -0800 |
commit | 323d27d172425a0fea3f4a071d210dca1d467f15 (patch) | |
tree | e5fc8617943c80fc3d523af973bac852f6d227bf /host/lib/usrp/dboard/magnesium | |
parent | d5ba6965e53e579a29d24ef5a86dc954e38ecf99 (diff) | |
download | uhd-323d27d172425a0fea3f4a071d210dca1d467f15.tar.gz uhd-323d27d172425a0fea3f4a071d210dca1d467f15.tar.bz2 uhd-323d27d172425a0fea3f4a071d210dca1d467f15.zip |
mg: Stop sharing RX and TX LO sptrs across blocks
All properties are already shared through the prop tree API.
Diffstat (limited to 'host/lib/usrp/dboard/magnesium')
-rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp index b7029d04d..5bbcacdf0 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp @@ -144,18 +144,6 @@ void magnesium_radio_ctrl_impl::_init_peripherals() } else { UHD_LOG_TRACE(unique_id(), "Not a master radio, no LOs."); } - if (not _tree->exists(rx_lo_path)) { - _tree->create<adf435x_iface::sptr>(rx_lo_path).set(_rx_lo); - } else { - UHD_LOG_TRACE(unique_id(), "Not a master radio. Getting LO from master" ); - _rx_lo = _tree->access<adf435x_iface::sptr>(rx_lo_path).get(); - } - if (not _tree->exists(tx_lo_path)) { - _tree->create<adf435x_iface::sptr>(tx_lo_path).set(_tx_lo); - } else { - UHD_LOG_TRACE(unique_id(), "Not a master radio. Getting LO from master" ); - _tx_lo = _tree->access<adf435x_iface::sptr>(tx_lo_path).get(); - } _gpio.clear(); // Following the as-if rule, this can get optimized out for (size_t radio_idx = 0; radio_idx < _get_num_radios(); radio_idx++) { |