diff options
author | Josh Blum | 2011-10-11 10:26:55 -0700 |
---|---|---|
committer | Josh Blum | 2011-11-07 18:56:28 -0800 |
commit | 017fb41de0843703810799c8a5d99d6b640437f9 (patch) | |
tree | edee96da04eee5fbec7f8ce310e5664ac5a9b652 /gr-uhd/lib/gr_uhd_usrp_source.cc | |
parent | 861a185c6f964d1c0057b341db332bf9b6387ffb (diff) | |
download | gnuradio-017fb41de0843703810799c8a5d99d6b640437f9.tar.gz gnuradio-017fb41de0843703810799c8a5d99d6b640437f9.tar.bz2 gnuradio-017fb41de0843703810799c8a5d99d6b640437f9.zip |
uhd: restored source block recv single packet functionality
Diffstat (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc')
-rw-r--r-- | gr-uhd/lib/gr_uhd_usrp_source.cc | 2 |
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 |