From ecd8eec17e225a337f0cc39ec34b4b6ecfb0fef0 Mon Sep 17 00:00:00 2001 From: Steven Koo Date: Fri, 10 Jul 2020 14:38:42 -0500 Subject: filter API: Fix multi_usrp tx calls Adding the fix to use fs_path instead of tx_rf_fe_root. This was done to the rx methods and should have been done for the tx ones as well. --- host/lib/usrp/multi_usrp.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index b9a60a794..03a2a169c 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -1961,8 +1961,7 @@ public: throw uhd::runtime_error("Attempting to get non-existing filter: " + name); } - return _tree->access(tx_rf_fe_root(chan) / name / "value") - .get(); + return _tree->access(fs_path(name) / "value").get(); } void set_tx_filter( @@ -1975,8 +1974,7 @@ public: throw uhd::runtime_error("Attempting to set non-existing filter: " + name); } - _tree->access(tx_rf_fe_root(chan) / name / "value") - .set(filter); + _tree->access(fs_path(name) / "value").set(filter); } /******************************************************************* -- cgit v1.2.3