aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-03 12:22:53 -0700
committerJosh Blum <josh@joshknows.com>2011-07-03 12:22:53 -0700
commit89989fdb2d92a6072b737a8864b50c9daa5c614a (patch)
treefe6aaa790114a2157da33f34a79ce97b5ebaf67d /host/lib/usrp/usrp2/usrp2_impl.cpp
parentffde9596bdef76e56d305be9a83401ceb580226f (diff)
downloaduhd-89989fdb2d92a6072b737a8864b50c9daa5c614a.tar.gz
uhd-89989fdb2d92a6072b737a8864b50c9daa5c614a.tar.bz2
uhd-89989fdb2d92a6072b737a8864b50c9daa5c614a.zip
usrp2: accept old db name 0 for backwards compat
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index a62e6088b..9741bec44 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -431,9 +431,9 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){
);
//TODO lots of properties to expose here for frontends
_tree->create<subdev_spec_t>(mb_path / "rx_subdev_spec")
- .subscribe(boost::bind(&usrp2_impl::update_rx_subdev_spec, this, mb, _1));
+ .coerce(boost::bind(&usrp2_impl::update_rx_subdev_spec, this, mb, _1));
_tree->create<subdev_spec_t>(mb_path / "tx_subdev_spec")
- .subscribe(boost::bind(&usrp2_impl::update_tx_subdev_spec, this, mb, _1));
+ .coerce(boost::bind(&usrp2_impl::update_tx_subdev_spec, this, mb, _1));
////////////////////////////////////////////////////////////////
// create rx dsp control objects