diff options
author | Josh Blum | 2013-05-21 15:25:28 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-25 14:13:57 -0700 |
commit | a481395aaa23b1f5133230fd2839091a9d7f69fa (patch) | |
tree | 33d5bba31d59bf20a505d50d2da4e0925d08ddde | |
parent | b5319db68383c1e502badc1f3d9af6e63ef79871 (diff) | |
download | gnuradio-a481395aaa23b1f5133230fd2839091a9d7f69fa.tar.gz gnuradio-a481395aaa23b1f5133230fd2839091a9d7f69fa.tar.bz2 gnuradio-a481395aaa23b1f5133230fd2839091a9d7f69fa.zip |
uhd: only issue stream cmd on selected channels
-rw-r--r-- | gr-uhd/lib/gr_uhd_usrp_source.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc index 126023d1a..c4f88f0c0 100644 --- a/gr-uhd/lib/gr_uhd_usrp_source.cc +++ b/gr-uhd/lib/gr_uhd_usrp_source.cc @@ -438,7 +438,10 @@ public: void issue_stream_cmd(const uhd::stream_cmd_t &cmd) { - _dev->issue_stream_cmd(cmd); + for (size_t i = 0; i < _stream_args.channels.size(); i++) + { + _dev->issue_stream_cmd(cmd, _stream_args.channels[i]); + } } bool start(void){ |