From 748e4bafbaec39b90f80e54251de339ab5b90cb6 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 14 Sep 2011 13:14:29 -0400 Subject: usrp: also use the new API to get the property tree in multi-usrp --- host/lib/usrp/multi_usrp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp') 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(); + _tree = _dev->get_tree(); } device::sptr get_device(void){ -- cgit v1.2.3