From 606d8fc36de0e1812da66e48f23eb7b840b28ebb Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Fri, 13 Jul 2018 16:00:24 -0700 Subject: mg: fix tx power issue This commit will fix power issues with 2 radios configuration (UHD 3.12+). Removed unused _master boolean. CPLD path are now correct, each radio has its own CPLD object. --- host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp') diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp index 578aa9640..04af0c7a4 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp @@ -171,7 +171,7 @@ void magnesium_radio_ctrl_impl::set_rx_antenna( chan ? magnesium_cpld_ctrl::CHAN1 : magnesium_cpld_ctrl::CHAN2; _update_atr_switches(chan_sel, RX_DIRECTION, ant); - radio_ctrl_impl::set_rx_antenna(ant, chan); // we don't use _master here since each radio has one antenna. + radio_ctrl_impl::set_rx_antenna(ant, chan); } double magnesium_radio_ctrl_impl::set_tx_frequency( -- cgit v1.2.3