From b8e41cbbc9666a9758d0f9f3a57272530716935a Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 16 Jan 2012 22:31:03 -0800 Subject: uhd: flush transport for new rx streamers --- host/lib/usrp/cores/rx_dsp_core_200.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/usrp/cores') diff --git a/host/lib/usrp/cores/rx_dsp_core_200.cpp b/host/lib/usrp/cores/rx_dsp_core_200.cpp index 7c4231103..2e21cc895 100644 --- a/host/lib/usrp/cores/rx_dsp_core_200.cpp +++ b/host/lib/usrp/cores/rx_dsp_core_200.cpp @@ -20,6 +20,7 @@ #include #include #include +#include //thread sleep #include #include #include @@ -65,6 +66,7 @@ public: stream_cmd_t stream_cmd(stream_cmd_t::STREAM_MODE_NUM_SAMPS_AND_DONE); stream_cmd.num_samps = 1; issue_stream_command(stream_cmd); + boost::this_thread::sleep(boost::posix_time::milliseconds(10)); //lets lingering pkt propagate } this->clear(); -- cgit v1.2.3