From d25782cf487bbed397a35c330ca0613251fd1b5d Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Mon, 22 Jun 2020 18:19:22 -0500 Subject: uhd: Implement discoverable_features for radio_control radio_control doesn't implement any discoverable_features in particular, but this gives it the API to do so. --- host/include/uhd/rfnoc/radio_control.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/radio_control.hpp b/host/include/uhd/rfnoc/radio_control.hpp index 349cca536..67ddbd47d 100644 --- a/host/include/uhd/rfnoc/radio_control.hpp +++ b/host/include/uhd/rfnoc/radio_control.hpp @@ -7,6 +7,7 @@ #pragma once #include +#include #include #include #include @@ -19,7 +20,8 @@ namespace uhd { namespace rfnoc { /*! Parent class for radio block controllers */ -class radio_control : public noc_block_base +class radio_control : public noc_block_base, + public virtual ::uhd::features::discoverable_feature_getter_iface { public: static const std::string ALL_LOS; -- cgit v1.2.3