diff options
author | Derek Kozel <derek.kozel@ettus.com> | 2017-04-07 19:38:44 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-04-13 15:30:13 -0700 |
commit | d1596dc40b1f0983512ab48372bdf25dd918710e (patch) | |
tree | 9dd689912e36d486ff1140950f6d3267f86c7bf8 /host/include | |
parent | ce14b640546985ac65964e071e869c1504d3e025 (diff) | |
download | uhd-d1596dc40b1f0983512ab48372bdf25dd918710e.tar.gz uhd-d1596dc40b1f0983512ab48372bdf25dd918710e.tar.bz2 uhd-d1596dc40b1f0983512ab48372bdf25dd918710e.zip |
rfnoc: Add set_command_time hook to radio block
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/block_ctrl_base.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 **********************************************************************/ |