aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-08-06 18:07:12 -0700
committerMartin Braun <martin.braun@ettus.com>2015-08-06 18:07:24 -0700
commitc2cf9c30f6b5091ba6ab4c5cad26e2ef649595af (patch)
tree43ad08f4c11fd62c15b1a27716cd665270459723 /host/lib
parent0f2346554d47678cb924f94ce7d6cd7bc94238ef (diff)
downloaduhd-c2cf9c30f6b5091ba6ab4c5cad26e2ef649595af.tar.gz
uhd-c2cf9c30f6b5091ba6ab4c5cad26e2ef649595af.tar.bz2
uhd-c2cf9c30f6b5091ba6ab4c5cad26e2ef649595af.zip
e300: Fix lacking subscriber call to update LO freq and bandsels
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/e300/e300_impl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_impl.cpp b/host/lib/usrp/e300/e300_impl.cpp
index 6eb63c786..45c00ffbb 100644
--- a/host/lib/usrp/e300/e300_impl.cpp
+++ b/host/lib/usrp/e300/e300_impl.cpp
@@ -1074,6 +1074,9 @@ void e300_impl::_setup_radio(const size_t dspno)
_tree->create<sensor_value_t>(rf_fe_path / "sensors" / "lo_locked")
.publish(boost::bind(&e300_impl::_get_fe_pll_lock, this, dir == TX_DIRECTION))
;
+ _tree->access<double>(rf_fe_path / "freq" / "value")
+ .subscribe(boost::bind(&e300_impl::_update_fe_lo_freq, this, key, _1))
+ ;
// Network mode currently doesn't support the filter API, so
// prevent it from using it: