From aa6b340f436acf4c0cad80416f69312ecfe3f29f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 8 Jul 2011 10:08:43 -0700 Subject: uhd: added subtree capability to property tree --- host/lib/usrp/usrp2/usrp2_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/usrp2') diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index 390d1813b..a42d1aae0 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -551,13 +551,13 @@ usrp2_impl::usrp2_impl(const device_addr_t &_device_addr){ ); BOOST_FOREACH(const std::string &name, _mbc[mb].dboard_manager->get_rx_subdev_names()){ dboard_manager::populate_prop_tree_from_subdev( - _tree, mb_path / "dboards/A/rx_frontends" / name, + _tree->subtree(mb_path / "dboards/A/rx_frontends" / name), _mbc[mb].dboard_manager->get_rx_subdev(name) ); } BOOST_FOREACH(const std::string &name, _mbc[mb].dboard_manager->get_tx_subdev_names()){ dboard_manager::populate_prop_tree_from_subdev( - _tree, mb_path / "dboards/A/tx_frontends" / name, + _tree->subtree(mb_path / "dboards/A/tx_frontends" / name), _mbc[mb].dboard_manager->get_tx_subdev(name) ); } -- cgit v1.2.3