From cf7f3d5a47929e04dbb2664ee163f59ff6f84b4a Mon Sep 17 00:00:00 2001 From: Trung N Tran Date: Tue, 9 Jan 2018 15:00:35 -0800 Subject: mg: fix update_freq direction in set_rx_lo_freq --- host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3