aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2019-03-04 17:54:35 -0800
committerMartin Braun <martin.braun@ettus.com>2019-03-05 18:34:21 +0100
commitccf95088fdd8b6a7c14da67481436889831e7c5f (patch)
tree08fd1f580b045b8aba174a15cc67ffea8f0d7712 /host/include
parent98d2572a3fcd943e64a83b53e23ac01593bc359e (diff)
downloaduhd-ccf95088fdd8b6a7c14da67481436889831e7c5f.tar.gz
uhd-ccf95088fdd8b6a7c14da67481436889831e7c5f.tar.bz2
uhd-ccf95088fdd8b6a7c14da67481436889831e7c5f.zip
Revert "RFNoC: Fix flush in source_block_ctrl_base"
This reverts commit 655b9b0f8e8f8556d434404da51aaccd124bbc3a. Signed-off-by: Michael West <michael.west@ettus.com>
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/block_ctrl_base.hpp6
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 df3fab02e..0bf701810 100644
--- a/host/include/uhd/rfnoc/block_ctrl_base.hpp
+++ b/host/include/uhd/rfnoc/block_ctrl_base.hpp
@@ -372,9 +372,6 @@ 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(
@@ -407,6 +404,9 @@ 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
**********************************************************************/