From c256b9df6502536c2e451e690f1ad5962c664d1a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 3 Jul 2019 20:15:35 -0700 Subject: x300/mpmd: Port all RFNoC devices to the new RFNoC framework Co-Authored-By: Alex Williams Co-Authored-By: Sugandha Gupta Co-Authored-By: Brent Stapleton Co-Authored-By: Ciro Nishiguchi --- host/lib/usrp/dboard/magnesium/magnesium_bands.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'host/lib/usrp/dboard/magnesium/magnesium_bands.cpp') diff --git a/host/lib/usrp/dboard/magnesium/magnesium_bands.cpp b/host/lib/usrp/dboard/magnesium/magnesium_bands.cpp index 13cc52d49..ef72aee95 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_bands.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_bands.cpp @@ -7,7 +7,7 @@ // The band plan #include "magnesium_constants.hpp" -#include "magnesium_radio_ctrl_impl.hpp" +#include "magnesium_radio_control.hpp" #include /* @@ -93,11 +93,10 @@ namespace { } // namespace - -magnesium_radio_ctrl_impl::rx_band magnesium_radio_ctrl_impl::_map_freq_to_rx_band( +magnesium_radio_control_impl::rx_band magnesium_radio_control_impl::_map_freq_to_rx_band( const band_map_t band_map, const double freq) { - magnesium_radio_ctrl_impl::rx_band band; + magnesium_radio_control_impl::rx_band band; if (fp_compare_epsilon(freq) < MAGNESIUM_MIN_FREQ) { band = rx_band::INVALID_BAND; @@ -124,10 +123,10 @@ magnesium_radio_ctrl_impl::rx_band magnesium_radio_ctrl_impl::_map_freq_to_rx_ba return band; } -magnesium_radio_ctrl_impl::tx_band magnesium_radio_ctrl_impl::_map_freq_to_tx_band( +magnesium_radio_control_impl::tx_band magnesium_radio_control_impl::_map_freq_to_tx_band( const band_map_t band_map, const double freq) { - magnesium_radio_ctrl_impl::tx_band band; + magnesium_radio_control_impl::tx_band band; if (fp_compare_epsilon(freq) < MAGNESIUM_MIN_FREQ) { band = tx_band::INVALID_BAND; -- cgit v1.2.3