summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b100
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/b100
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/b100')
-rw-r--r--host/lib/usrp/b100/b100_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b100/b100_impl.cpp b/host/lib/usrp/b100/b100_impl.cpp
index b58e70694..2e2421ed3 100644
--- a/host/lib/usrp/b100/b100_impl.cpp
+++ b/host/lib/usrp/b100/b100_impl.cpp
@@ -366,13 +366,13 @@ b100_impl::b100_impl(const device_addr_t &device_addr){
);
BOOST_FOREACH(const std::string &name, _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),
_dboard_manager->get_rx_subdev(name)
);
}
BOOST_FOREACH(const std::string &name, _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),
_dboard_manager->get_tx_subdev(name)
);
}