From 017fb41de0843703810799c8a5d99d6b640437f9 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 11 Oct 2011 10:26:55 -0700 Subject: uhd: restored source block recv single packet functionality --- gr-uhd/lib/gr_uhd_usrp_source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc') diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc index 12dd1bee7..adb234f25 100644 --- a/gr-uhd/lib/gr_uhd_usrp_source.cc +++ b/gr-uhd/lib/gr_uhd_usrp_source.cc @@ -214,7 +214,7 @@ public: //We now receive a single packet with a large timeout. if (_metadata.error_code == uhd::rx_metadata_t::ERROR_CODE_TIMEOUT){ num_samps = _rx_stream->recv( - output_items, noutput_items, _metadata, 1.0 + output_items, noutput_items, _metadata, 1.0, true/*one pkt*/ ); } #else -- cgit