aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2018-01-09 15:00:35 -0800
committerMartin Braun <martin.braun@ettus.com>2018-01-09 16:09:07 -0800
commitcf7f3d5a47929e04dbb2664ee163f59ff6f84b4a (patch)
tree3525e70e868707439d0d796068b634bd3107c666
parenta31d9504b1ca6985f402ba08134fe8700428928d (diff)
downloaduhd-cf7f3d5a47929e04dbb2664ee163f59ff6f84b4a.tar.gz
uhd-cf7f3d5a47929e04dbb2664ee163f59ff6f84b4a.tar.bz2
uhd-cf7f3d5a47929e04dbb2664ee163f59ff6f84b4a.zip
mg: fix update_freq direction in set_rx_lo_freq
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp2
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 09b6dd710..2c7121c5c 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
@@ -550,7 +550,7 @@ double magnesium_radio_ctrl_impl::set_rx_lo_freq(
}
std::string source = this->get_rx_lo_source(name, chan);
const double coerced_lo_freq = this->_set_rx_lo_freq(source, name, freq, chan);
- this->_update_freq(chan,TX_DIRECTION);
+ this->_update_freq(chan,RX_DIRECTION);
this->_update_gain(chan,RX_DIRECTION);
return coerced_lo_freq;
}