diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-08 10:08:43 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-08 10:08:43 -0700 |
commit | aa6b340f436acf4c0cad80416f69312ecfe3f29f (patch) | |
tree | f417acc5e12c1837537e1bc6eec4ee638fdf941d /host/lib/usrp/usrp1/usrp1_impl.cpp | |
parent | 89c68baaf23a29d8bcb4ff11a1a743aa13ceb34d (diff) | |
download | uhd-aa6b340f436acf4c0cad80416f69312ecfe3f29f.tar.gz uhd-aa6b340f436acf4c0cad80416f69312ecfe3f29f.tar.bz2 uhd-aa6b340f436acf4c0cad80416f69312ecfe3f29f.zip |
uhd: added subtree capability to property tree
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp1/usrp1_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.cpp b/host/lib/usrp/usrp1/usrp1_impl.cpp index 78137178b..f27fc0768 100644 --- a/host/lib/usrp/usrp1/usrp1_impl.cpp +++ b/host/lib/usrp/usrp1/usrp1_impl.cpp @@ -346,13 +346,13 @@ usrp1_impl::usrp1_impl(const device_addr_t &device_addr){ ); BOOST_FOREACH(const std::string &name, _dbc[db].dboard_manager->get_rx_subdev_names()){ dboard_manager::populate_prop_tree_from_subdev( - _tree, mb_path / "dboards" / db/ "rx_frontends" / name, + _tree->subtree(mb_path / "dboards" / db/ "rx_frontends" / name), _dbc[db].dboard_manager->get_rx_subdev(name) ); } BOOST_FOREACH(const std::string &name, _dbc[db].dboard_manager->get_tx_subdev_names()){ dboard_manager::populate_prop_tree_from_subdev( - _tree, mb_path / "dboards" / db/ "tx_frontends" / name, + _tree->subtree(mb_path / "dboards" / db/ "tx_frontends" / name), _dbc[db].dboard_manager->get_tx_subdev(name) ); } |