aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/multi_usrp_rfnoc.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/host/lib/usrp/multi_usrp_rfnoc.cpp b/host/lib/usrp/multi_usrp_rfnoc.cpp
index 6d0de68f9..f87e52190 100644
--- a/host/lib/usrp/multi_usrp_rfnoc.cpp
+++ b/host/lib/usrp/multi_usrp_rfnoc.cpp
@@ -74,7 +74,9 @@ constexpr char LOG_ID[] = "MULTI_USRP";
class redirector_device : public uhd::device
{
public:
- redirector_device(multi_usrp* musrp_ptr) : _musrp(musrp_ptr) {}
+ redirector_device(multi_usrp* musrp_ptr) : _musrp(musrp_ptr) {
+ _tree = musrp_ptr->get_tree();
+ }
rx_streamer::sptr get_rx_stream(const stream_args_t& args) override
{
@@ -102,11 +104,6 @@ public:
return false;
}
- uhd::property_tree::sptr get_tree(void) const
- {
- return _musrp->get_tree();
- }
-
device_filter_t get_device_type() const
{
return USRP;