summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-uhd/lib/gr_uhd_usrp_source.cc2
1 files changed, 1 insertions, 1 deletions
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