diff options
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/block_ctrl_base.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/include/uhd/rfnoc/block_ctrl_base.hpp b/host/include/uhd/rfnoc/block_ctrl_base.hpp index 0bf701810..df3fab02e 100644 --- a/host/include/uhd/rfnoc/block_ctrl_base.hpp +++ b/host/include/uhd/rfnoc/block_ctrl_base.hpp @@ -372,6 +372,9 @@ protected: // than reset register SR_CLEAR_TX_FC. virtual void _clear(const size_t port = 0); + //! Flush any in-flight packets for this block + bool _flush(const size_t port = 0); + //! Override this function if your block needs to specially handle // setting the command time virtual void _set_command_time( @@ -404,9 +407,6 @@ private: //! Helper to start flushing for this block void _start_drain(const size_t port = 0); - //! Helper to flush any in-flight packets for this block - bool _flush(const size_t port = 0); - /*********************************************************************** * Private members **********************************************************************/ |