diff options
author | Lane Kolbly <lane.kolbly@ni.com> | 2020-06-22 18:19:22 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-25 13:36:08 -0500 |
commit | d25782cf487bbed397a35c330ca0613251fd1b5d (patch) | |
tree | b9f2571e0e952fedabf27bc64f699c88b25aac5a /host/lib | |
parent | d6cb55ef08f51c9ebef57e5bbcb95b03a65972a9 (diff) | |
download | uhd-d25782cf487bbed397a35c330ca0613251fd1b5d.tar.gz uhd-d25782cf487bbed397a35c330ca0613251fd1b5d.tar.bz2 uhd-d25782cf487bbed397a35c330ca0613251fd1b5d.zip |
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.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/include/uhdlib/rfnoc/radio_control_impl.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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: /************************************************************************** |