diff options
author | michael-west <michael.west@ettus.com> | 2015-05-15 17:06:51 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-05-22 11:33:55 -0700 |
commit | da7302cacbcdad59df01a7d7789db3c6fa9c6b24 (patch) | |
tree | 137b925f265572f59b4292cb4f2a26abf17dee1b /host/lib/usrp/b200/b200_impl.cpp | |
parent | c9af74e569d0d61a008f5bf0257c860b2b473381 (diff) | |
download | uhd-da7302cacbcdad59df01a7d7789db3c6fa9c6b24.tar.gz uhd-da7302cacbcdad59df01a7d7789db3c6fa9c6b24.tar.bz2 uhd-da7302cacbcdad59df01a7d7789db3c6fa9c6b24.zip |
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.
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.cpp')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index bd07fcaee..bac904a31 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -684,6 +684,7 @@ void b200_impl::setup_radio(const size_t dspno) _tree->create<meta_range_t>(rf_fe_path / "bandwidth" / "range") .publish(boost::bind(&ad9361_ctrl::get_bw_filter_range, key)); _tree->create<double>(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(&b200_impl::update_bandsel, this, key, _1)) .set(B200_DEFAULT_FREQ); |