summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-09-14 13:14:29 -0400
committerJosh Blum <josh@joshknows.com>2011-09-14 13:14:29 -0400
commit748e4bafbaec39b90f80e54251de339ab5b90cb6 (patch)
treea81354d58f5ef022884c5213e743c2d647595379
parentff40f2da8aa67f78075b5b15d2d26a721ccbeaa3 (diff)
downloaduhd-748e4bafbaec39b90f80e54251de339ab5b90cb6.tar.gz
uhd-748e4bafbaec39b90f80e54251de339ab5b90cb6.tar.bz2
uhd-748e4bafbaec39b90f80e54251de339ab5b90cb6.zip
usrp: also use the new API to get the property tree in multi-usrp
-rw-r--r--host/lib/usrp/multi_usrp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 2749c4752..73699dc81 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -203,7 +203,7 @@ class multi_usrp_impl : public multi_usrp{
public:
multi_usrp_impl(const device_addr_t &addr){
_dev = device::make(addr);
- _tree = (*_dev)[0].as<property_tree::sptr>();
+ _tree = _dev->get_tree();
}
device::sptr get_device(void){