From d3da5e4cda3f75649381788014b214e0727ef5d1 Mon Sep 17 00:00:00 2001 From: michael-west Date: Wed, 7 Apr 2021 10:54:57 -0700 Subject: N310: Fix calculation of LO freq w/ext LO for RX A typo was causing an issue with order of precedence in the calculation of the LO frequency when using an external LO for RX on the N310. Signed-off-by: michael-west --- host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp index b84fcee6d..d0e1e60ec 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp @@ -337,7 +337,7 @@ double magnesium_radio_control_impl::set_rx_frequency( } // external LO required to tune at 2xdesired_frequency. const double lo1_freq = - (ad9371_source == "internal" ? 1 : 2) * coerced_if_freq + freq; + (ad9371_source == "internal" ? 1 : 2) * (coerced_if_freq + freq); this->_set_rx_lo_freq(ad9371_source, MAGNESIUM_LO1, lo1_freq, chan); -- cgit v1.2.3