aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-01-08 18:08:11 -0800
committerMartin Braun <martin.braun@ettus.com>2018-01-08 18:08:11 -0800
commita31d9504b1ca6985f402ba08134fe8700428928d (patch)
treeab872db648af50df3fc20e4de6949f5cdf71a0c4
parent20a4e2370a9eb682b4d80fba7a5386c6e0a629d4 (diff)
downloaduhd-a31d9504b1ca6985f402ba08134fe8700428928d.tar.gz
uhd-a31d9504b1ca6985f402ba08134fe8700428928d.tar.bz2
uhd-a31d9504b1ca6985f402ba08134fe8700428928d.zip
fixup! mg: Use enums for all bands, move freq mapping to single location
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp
index 8dfca2d6e..183b87dcb 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp
@@ -161,6 +161,7 @@ void magnesium_radio_ctrl_impl::_update_rx_freq_switches(
// All the defaults are OK when using the bypass path.
if (not bypass_lnas) {
switch(band) {
+ case rx_band::LOWBAND:
case rx_band::BAND0:
rx_sw2 = magnesium_cpld_ctrl::RX_SW2_LOWERFILTERBANKTOSWITCH3;
rx_sw3 = magnesium_cpld_ctrl::RX_SW3_FILTER0490LPMHZ;