diff options
Diffstat (limited to 'host/lib/usrp/multi_usrp.cpp')
-rw-r--r-- | host/lib/usrp/multi_usrp.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index c41b31083..04d054b60 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -1905,8 +1905,7 @@ public: throw uhd::runtime_error("Attempting to get non-existing filter: " + name); } - return _tree->access<filter_info_base::sptr>(rx_rf_fe_root(chan) / name / "value") - .get(); + return _tree->access<filter_info_base::sptr>(fs_path(name) / "value").get(); } void set_rx_filter( @@ -1919,8 +1918,7 @@ public: throw uhd::runtime_error("Attempting to set non-existing filter: " + name); } - _tree->access<filter_info_base::sptr>(rx_rf_fe_root(chan) / name / "value") - .set(filter); + _tree->access<filter_info_base::sptr>(fs_path(name) / "value").set(filter); } std::vector<std::string> get_tx_filter_names(const size_t chan) |