diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/include/uhd/rfnoc/radio_control.hpp | 4 | ||||
-rw-r--r-- | host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp | 4 |
2 files changed, 6 insertions, 2 deletions
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 <uhd/config.hpp> +#include <uhd/features/discoverable_feature_getter_iface.hpp> #include <uhd/rfnoc/noc_block_base.hpp> #include <uhd/types/device_addr.hpp> #include <uhd/types/direction.hpp> @@ -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; diff --git a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp index 956280007..5ea1e57f0 100644 --- a/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp +++ b/host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp @@ -9,6 +9,7 @@ #include <uhd/rfnoc/defaults.hpp> #include <uhd/rfnoc/multichan_register_iface.hpp> #include <uhd/rfnoc/radio_control.hpp> +#include <uhdlib/features/discoverable_feature_registry.hpp> #include <uhdlib/usrp/common/pwr_cal_mgr.hpp> #include <unordered_map> #include <mutex> @@ -26,7 +27,8 @@ namespace uhd { namespace rfnoc { * Many of the radio_control API calls have virtual (default) implementations * here, but they can be overridden. */ -class radio_control_impl : public radio_control +class radio_control_impl : public radio_control, + public ::uhd::features::discoverable_feature_registry { public: /************************************************************************** |