diff options
author | Josh Blum | 2013-05-28 17:33:05 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-25 14:13:57 -0700 |
commit | 40a9b45d699d102261b2cfabb666efe7569bdbd4 (patch) | |
tree | 3dbef0b91b852db31498cc7b14dfb4c5fd48751c | |
parent | a481395aaa23b1f5133230fd2839091a9d7f69fa (diff) | |
download | gnuradio-40a9b45d699d102261b2cfabb666efe7569bdbd4.tar.gz gnuradio-40a9b45d699d102261b2cfabb666efe7569bdbd4.tar.bz2 gnuradio-40a9b45d699d102261b2cfabb666efe7569bdbd4.zip |
uhd: and also actually use said stream command
-rw-r--r-- | gr-uhd/lib/gr_uhd_usrp_source.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc index c4f88f0c0..50164b4a8 100644 --- a/gr-uhd/lib/gr_uhd_usrp_source.cc +++ b/gr-uhd/lib/gr_uhd_usrp_source.cc @@ -460,7 +460,7 @@ public: else{ stream_cmd.time_spec = get_time_now() + uhd::time_spec_t(reasonable_delay); } - _dev->issue_stream_cmd(stream_cmd); + this->issue_stream_cmd(stream_cmd); _tag_now = true; return true; } @@ -489,7 +489,7 @@ public: } bool stop(void){ - _dev->issue_stream_cmd(uhd::stream_cmd_t::STREAM_MODE_STOP_CONTINUOUS); + this->issue_stream_cmd(uhd::stream_cmd_t::STREAM_MODE_STOP_CONTINUOUS); this->flush(); @@ -528,7 +528,7 @@ public: cmd.stream_now = _stream_now; static const double reasonable_delay = 0.1; //order of magnitude over RTT cmd.time_spec = get_time_now() + uhd::time_spec_t(reasonable_delay); - _dev->issue_stream_cmd(cmd); + this->issue_stream_cmd(cmd); //receive samples until timeout const size_t actual_num_samps = _rx_stream->recv( |