aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/multi_usrp.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-07-02 16:22:57 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-07-16 15:17:26 -0500
commite4291f1ddcf9f23e4449201fc2677c0379b13ca6 (patch)
tree65d4fab6351e70cd0a201f64b79159e977120412 /host/lib/usrp/multi_usrp.cpp
parent35038421e1b3edd577037cd1dddc4e77df76a3ab (diff)
downloaduhd-e4291f1ddcf9f23e4449201fc2677c0379b13ca6.tar.gz
uhd-e4291f1ddcf9f23e4449201fc2677c0379b13ca6.tar.bz2
uhd-e4291f1ddcf9f23e4449201fc2677c0379b13ca6.zip
multi_usrp: Add get_radio_control() API call
This is an advanced API call that allows direct underlying access to the radio_control object for RFNoC devices.
Diffstat (limited to 'host/lib/usrp/multi_usrp.cpp')
-rw-r--r--host/lib/usrp/multi_usrp.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 04d054b60..b9a60a794 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -948,6 +948,12 @@ public:
return nullptr;
}
+ uhd::rfnoc::radio_control& get_radio_control(const size_t)
+ {
+ throw uhd::not_implemented_error(
+ "get_radio_control() not supported on this device!");
+ }
+
/*******************************************************************
* RX methods
******************************************************************/