diff options
Diffstat (limited to 'host/lib/rfnoc/source_block_ctrl_base.cpp')
-rw-r--r-- | host/lib/rfnoc/source_block_ctrl_base.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/rfnoc/source_block_ctrl_base.cpp b/host/lib/rfnoc/source_block_ctrl_base.cpp index d71905a1f..5ede899cb 100644 --- a/host/lib/rfnoc/source_block_ctrl_base.cpp +++ b/host/lib/rfnoc/source_block_ctrl_base.cpp @@ -9,6 +9,8 @@ #include <uhd/utils/log.hpp> #include <uhd/rfnoc/constants.hpp> #include <uhdlib/rfnoc/utils.hpp> +#include <chrono> +#include <thread> using namespace uhd; using namespace uhd::rfnoc; @@ -103,7 +105,7 @@ void source_block_ctrl_base::configure_flow_control_out( //to flush is more than enough time. //TODO: Enhancement. We should get feedback from the FPGA about when the source_flow_control // module is done flushing. - boost::this_thread::sleep(boost::posix_time::milliseconds(1)); + std::this_thread::sleep_for(std::chrono::milliseconds(1)); //Resize the FC window. //Precondition: No data can be buffered upstream. |