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/e300/e300_impl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/usrp/e300') diff --git a/host/lib/usrp/e300/e300_impl.cpp b/host/lib/usrp/e300/e300_impl.cpp index 693aa5734..41e8eacf3 100644 --- a/host/lib/usrp/e300/e300_impl.cpp +++ b/host/lib/usrp/e300/e300_impl.cpp @@ -1053,6 +1053,7 @@ void e300_impl::_setup_radio(const size_t dspno) _tree->create(rf_fe_path / "bandwidth" / "range") .publish(boost::bind(&ad9361_ctrl::get_bw_filter_range, key)); _tree->create(rf_fe_path / "freq" / "value") + .publish(boost::bind(&ad9361_ctrl::get_freq, _codec_ctrl, key)) .coerce(boost::bind(&ad9361_ctrl::tune, _codec_ctrl, key, _1)) .subscribe(boost::bind(&e300_impl::_update_fe_lo_freq, this, key, _1)) .set(e300::DEFAULT_FE_FREQ); -- cgit v1.2.3