summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-08 10:08:43 -0700
committerJosh Blum <josh@joshknows.com>2011-07-08 10:08:43 -0700
commitaa6b340f436acf4c0cad80416f69312ecfe3f29f (patch)
treef417acc5e12c1837537e1bc6eec4ee638fdf941d /host/lib/usrp/usrp2
parent89c68baaf23a29d8bcb4ff11a1a743aa13ceb34d (diff)
downloaduhd-aa6b340f436acf4c0cad80416f69312ecfe3f29f.tar.gz
uhd-aa6b340f436acf4c0cad80416f69312ecfe3f29f.tar.bz2
uhd-aa6b340f436acf4c0cad80416f69312ecfe3f29f.zip
uhd: added subtree capability to property tree
Diffstat (limited to 'host/lib/usrp/usrp2')
-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 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)
);
}