aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorTrung Tran <trung.tran@ettus.com>2017-12-02 07:48:04 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:57 -0800
commit6fa0db94f1e84f180c2bbd9946bb8152ef8a21fe (patch)
treed79de9364302190c158ceec06e5f1f3414fdf78c /host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
parent0cb800e001fc443b82f827119597cb2b8167c031 (diff)
downloaduhd-6fa0db94f1e84f180c2bbd9946bb8152ef8a21fe.tar.gz
uhd-6fa0db94f1e84f180c2bbd9946bb8152ef8a21fe.tar.bz2
uhd-6fa0db94f1e84f180c2bbd9946bb8152ef8a21fe.zip
mg: Fix gain setting on channels 1 and 3
Updated channel param: -modify radio_ctrl_cpld the param for channel has to be more concrete type of chan_sel_t -fix _update_rx_freq_switches and _update_tx_freq_switches to get correct frequency by NOT using radio base class
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
index f1543077c..aa70fa7ad 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
@@ -48,7 +48,7 @@ public:
/************************************************************************
* API calls
***********************************************************************/
- // Note: We use the cached values in radio_ctrl_impl, so most getters are
+ // Note: We use the cached values in radio_ctrl_impl, so most getters are
// not reimplemented here
double set_rate(double rate);
@@ -174,13 +174,13 @@ private:
void _update_rx_freq_switches(
const double freq,
const bool bypass_lnas,
- const size_t chan
+ const magnesium_cpld_ctrl::chan_sel_t chan_sel
);
void _update_tx_freq_switches(
const double freq,
const bool bypass_amps,
- const size_t chan
+ const magnesium_cpld_ctrl::chan_sel_t chan_sel
);
void _update_atr_switches(