From d1596dc40b1f0983512ab48372bdf25dd918710e Mon Sep 17 00:00:00 2001 From: Derek Kozel Date: Fri, 7 Apr 2017 19:38:44 -0700 Subject: rfnoc: Add set_command_time hook to radio block --- host/include/uhd/rfnoc/block_ctrl_base.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/block_ctrl_base.hpp b/host/include/uhd/rfnoc/block_ctrl_base.hpp index f770cf129..e9dd9c233 100644 --- a/host/include/uhd/rfnoc/block_ctrl_base.hpp +++ b/host/include/uhd/rfnoc/block_ctrl_base.hpp @@ -381,6 +381,9 @@ protected: // than reset register SR_CLEAR_TX_FC. virtual void _clear(const size_t port = 0); + //! Override this function if your block needs to specially handle + // setting the command time + virtual void _set_command_time(const time_spec_t &time_spec, const size_t port = ANY_PORT); /*********************************************************************** * Protected members **********************************************************************/ -- cgit v1.2.3