diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-07-03 20:15:35 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:16:25 -0800 |
commit | c256b9df6502536c2e451e690f1ad5962c664d1a (patch) | |
tree | a83ad13e6f5978bbe14bb3ecf8294ba1e3d28db4 /host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp | |
parent | 9a8435ed998fc5c65257f4c55768750b227ab19e (diff) | |
download | uhd-c256b9df6502536c2e451e690f1ad5962c664d1a.tar.gz uhd-c256b9df6502536c2e451e690f1ad5962c664d1a.tar.bz2 uhd-c256b9df6502536c2e451e690f1ad5962c664d1a.zip |
x300/mpmd: Port all RFNoC devices to the new RFNoC framework
Co-Authored-By: Alex Williams <alex.williams@ni.com>
Co-Authored-By: Sugandha Gupta <sugandha.gupta@ettus.com>
Co-Authored-By: Brent Stapleton <brent.stapleton@ettus.com>
Co-Authored-By: Ciro Nishiguchi <ciro.nishiguchi@ni.com>
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp')
-rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp b/host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp index 67b20f5fa..3e513218a 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_gain_table.cpp @@ -15,8 +15,8 @@ using namespace uhd::rfnoc; using namespace magnesium; namespace { -typedef magnesium_radio_ctrl_impl::rx_band rx_band; -typedef magnesium_radio_ctrl_impl::tx_band tx_band; +typedef magnesium_radio_control_impl::rx_band rx_band; +typedef magnesium_radio_control_impl::tx_band tx_band; const size_t TX_LOWBAND = 0; const size_t TX_HIGHBAND = 1; @@ -454,7 +454,7 @@ gain_tuple_t fine_tune_ad9371_att(const gain_tuple_t gain_tuple, const double ga gain_tuple_t magnesium::get_rx_gain_tuple( - const double gain_index, const magnesium_radio_ctrl_impl::rx_band band) + const double gain_index, const magnesium_radio_control_impl::rx_band band) { UHD_ASSERT_THROW(gain_index <= ALL_RX_MAX_GAIN and gain_index >= ALL_RX_MIN_GAIN); auto& gain_table = rx_gain_tables.at(map_rx_band(band)); @@ -463,7 +463,7 @@ gain_tuple_t magnesium::get_rx_gain_tuple( } gain_tuple_t magnesium::get_tx_gain_tuple( - const double gain_index, const magnesium_radio_ctrl_impl::tx_band band) + const double gain_index, const magnesium_radio_control_impl::tx_band band) { UHD_ASSERT_THROW(gain_index <= ALL_TX_MAX_GAIN and gain_index >= ALL_TX_MIN_GAIN); auto& gain_table = tx_gain_tables.at(map_tx_band(band)); |