diff options
| author | michael-west <michael.west@ettus.com> | 2021-04-07 10:54:57 -0700 | 
|---|---|---|
| committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-04-12 15:08:22 -0500 | 
| commit | d3da5e4cda3f75649381788014b214e0727ef5d1 (patch) | |
| tree | ef5a5533251ff9b496ab1b29e057050a689a2320 /host/lib | |
| parent | 4021c901e0c76c7daeb3f65e4c12ff6d2cab053c (diff) | |
| download | uhd-d3da5e4cda3f75649381788014b214e0727ef5d1.tar.gz uhd-d3da5e4cda3f75649381788014b214e0727ef5d1.tar.bz2 uhd-d3da5e4cda3f75649381788014b214e0727ef5d1.zip | |
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 <michael.west@ettus.com>
Diffstat (limited to 'host/lib')
| -rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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); | 
