diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-19 13:04:42 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-19 13:04:42 -0700 |
commit | f8c63c369e0e8800f76d427434424f7209fcde86 (patch) | |
tree | 5dcf9ba77d76bd342ba2fb72e5b59d764abc0cb8 /gr-uhd/lib/uhd_multi_usrp_source.cc | |
parent | 343cba5663d0eefdd3ee3918bef812dc1bd75508 (diff) |
uhd: tweaking timeouts for multi usrp blocks
Diffstat (limited to 'gr-uhd/lib/uhd_multi_usrp_source.cc')
-rw-r--r-- | gr-uhd/lib/uhd_multi_usrp_source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_multi_usrp_source.cc b/gr-uhd/lib/uhd_multi_usrp_source.cc index 0ac686c795..63dad1a25e 100644 --- a/gr-uhd/lib/uhd_multi_usrp_source.cc +++ b/gr-uhd/lib/uhd_multi_usrp_source.cc @@ -128,7 +128,7 @@ public: size_t num_samps = _dev->get_device()->recv( output_items, noutput_items, metadata, - _type, uhd::device::RECV_MODE_FULL_BUFF + _type, uhd::device::RECV_MODE_FULL_BUFF, 1.0 ); switch(metadata.error_code){ @@ -149,7 +149,7 @@ public: bool start(void){ //setup a stream command that starts streaming slightly in the future - static const double reasonable_delay = 0.05; //order of magnitude over RTT + static const double reasonable_delay = 0.1; //order of magnitude over RTT uhd::stream_cmd_t stream_cmd(uhd::stream_cmd_t::STREAM_MODE_START_CONTINUOUS); stream_cmd.stream_now = false; stream_cmd.time_spec = get_time_now() + uhd::time_spec_t(reasonable_delay); |