diff options
author | Josh Blum | 2012-03-23 13:53:47 -0700 |
---|---|---|
committer | Josh Blum | 2012-03-23 14:10:26 -0700 |
commit | 38d0c4cff7aa26567c3fb2fb55002de8627aa044 (patch) | |
tree | 1e2955660cd869b87abb05088279bc31f296fe87 /gr-uhd/lib | |
parent | 90213d65782dbbc612494ed28568e23b42961488 (diff) | |
download | gnuradio-38d0c4cff7aa26567c3fb2fb55002de8627aa044.tar.gz gnuradio-38d0c4cff7aa26567c3fb2fb55002de8627aa044.tar.bz2 gnuradio-38d0c4cff7aa26567c3fb2fb55002de8627aa044.zip |
uhd: add a flush to finite_acquisition_v
Diffstat (limited to 'gr-uhd/lib')
-rw-r--r-- | gr-uhd/lib/gr_uhd_usrp_source.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-uhd/lib/gr_uhd_usrp_source.cc b/gr-uhd/lib/gr_uhd_usrp_source.cc index 9fd2d175a..b454d73de 100644 --- a/gr-uhd/lib/gr_uhd_usrp_source.cc +++ b/gr-uhd/lib/gr_uhd_usrp_source.cc @@ -437,6 +437,9 @@ public: this->stop(); } + //flush so there is no queued-up data + this->flush(); + //create a multi-dimensional container to hold an array of sample buffers std::vector<std::vector<std::complex<float> > > samps(_nchan, std::vector<std::complex<float> >(nsamps)); |