From da7302cacbcdad59df01a7d7789db3c6fa9c6b24 Mon Sep 17 00:00:00 2001 From: michael-west Date: Fri, 15 May 2015 17:06:51 -0700 Subject: B200/E300: Fix incorrect readback of frequency. When the LO is tuned it changes the frequency on both channels. The frequency value read back for the first channel was not updated when the LO frequency for the other channel was tuned to a different value. --- host/lib/usrp/common/ad9361_ctrl.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/lib/usrp/common/ad9361_ctrl.hpp') diff --git a/host/lib/usrp/common/ad9361_ctrl.hpp b/host/lib/usrp/common/ad9361_ctrl.hpp index c5718302f..b7d7b8e26 100644 --- a/host/lib/usrp/common/ad9361_ctrl.hpp +++ b/host/lib/usrp/common/ad9361_ctrl.hpp @@ -95,6 +95,9 @@ public: //! tune the given frontend, return the exact value virtual double tune(const std::string &which, const double value) = 0; + //! get the current frequency for the given frontend + virtual double get_freq(const std::string &which) = 0; + //! turn on/off data port loopback virtual void data_port_loopback(const bool on) = 0; -- cgit v1.2.3