aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/multi_usrp.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 1985da254..687f1c06d 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -820,6 +820,18 @@ public:
}
}
+ wb_iface::sptr get_user_settings_iface(const size_t chan)
+ {
+ const auto user_settings_path =
+ rx_rf_fe_root(chan) / "user_settings" / "iface";
+ if (_tree->exists(user_settings_path)) {
+ return _tree->access<wb_iface::sptr>(user_settings_path).get();
+ }
+ UHD_LOG_WARNING("MULTI_USRP",
+ "Attempting to read back non-existant user settings iface!");
+ return nullptr;
+ }
+
/*******************************************************************
* RX methods
******************************************************************/