diff options
author | Trung Tran <trung.tran@ettus.com> | 2018-07-13 16:00:24 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-07-14 11:21:26 -0700 |
commit | 606d8fc36de0e1812da66e48f23eb7b840b28ebb (patch) | |
tree | 36f8623b0aaa36b13df922596291056941935afb /host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp | |
parent | 8a3148eb25cfd26c4449e6e34c3cba1e41ebc500 (diff) | |
download | uhd-606d8fc36de0e1812da66e48f23eb7b840b28ebb.tar.gz uhd-606d8fc36de0e1812da66e48f23eb7b840b28ebb.tar.bz2 uhd-606d8fc36de0e1812da66e48f23eb7b840b28ebb.zip |
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.
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp')
-rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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( |