diff options
author | Steven Koo <steven.koo@ni.com> | 2020-07-10 14:38:42 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-17 13:09:38 -0500 |
commit | ecd8eec17e225a337f0cc39ec34b4b6ecfb0fef0 (patch) | |
tree | 07dbd54071a5a5667e9b15dc095534418abd7f00 /host/lib/usrp | |
parent | e4291f1ddcf9f23e4449201fc2677c0379b13ca6 (diff) | |
download | uhd-ecd8eec17e225a337f0cc39ec34b4b6ecfb0fef0.tar.gz uhd-ecd8eec17e225a337f0cc39ec34b4b6ecfb0fef0.tar.bz2 uhd-ecd8eec17e225a337f0cc39ec34b4b6ecfb0fef0.zip |
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.
Diffstat (limited to 'host/lib/usrp')
-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 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<filter_info_base::sptr>(tx_rf_fe_root(chan) / name / "value") - .get(); + return _tree->access<filter_info_base::sptr>(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<filter_info_base::sptr>(tx_rf_fe_root(chan) / name / "value") - .set(filter); + _tree->access<filter_info_base::sptr>(fs_path(name) / "value").set(filter); } /******************************************************************* |