summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/uhd_multi_usrp_source.cc
diff options
context:
space:
mode:
authorJosh Blum2010-10-18 18:29:20 -0700
committerJosh Blum2010-10-18 18:29:20 -0700
commit343cba5663d0eefdd3ee3918bef812dc1bd75508 (patch)
tree70ddc504b664cef8b6681ab8755dbe9df4af5ea9 /gr-uhd/lib/uhd_multi_usrp_source.cc
parent8c6445cb3dd2a8db361203fedf55f3efb6953635 (diff)
downloadgnuradio-343cba5663d0eefdd3ee3918bef812dc1bd75508.tar.gz
gnuradio-343cba5663d0eefdd3ee3918bef812dc1bd75508.tar.bz2
gnuradio-343cba5663d0eefdd3ee3918bef812dc1bd75508.zip
uhd: tweaked and tested multi usrp with a single channel
Diffstat (limited to 'gr-uhd/lib/uhd_multi_usrp_source.cc')
-rw-r--r--gr-uhd/lib/uhd_multi_usrp_source.cc4
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 1fcb57650..0ac686c79 100644
--- a/gr-uhd/lib/uhd_multi_usrp_source.cc
+++ b/gr-uhd/lib/uhd_multi_usrp_source.cc
@@ -149,10 +149,10 @@ public:
bool start(void){
//setup a stream command that starts streaming slightly in the future
- static const double reasonable_delay = 0.01; //10 ms (order of magnitude >> RTT)
+ static const double reasonable_delay = 0.05; //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(_dev->get_num_mboards() * reasonable_delay);
+ stream_cmd.time_spec = get_time_now() + uhd::time_spec_t(reasonable_delay);
_dev->issue_stream_cmd(stream_cmd);
return true;
}