aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-21 09:55:55 -0800
committerJosh Blum <josh@joshknows.com>2011-11-21 09:55:55 -0800
commitdac9a5001a0cdb2f03241025fc61cca7baeb3787 (patch)
tree7d9ce02e1971183b0b19ac7e4f0243c2fb2327ad /host/lib/usrp/e100
parent1a25e4867b395a35b718effe9d89dd217ff71941 (diff)
downloaduhd-dac9a5001a0cdb2f03241025fc61cca7baeb3787.tar.gz
uhd-dac9a5001a0cdb2f03241025fc61cca7baeb3787.tar.bz2
uhd-dac9a5001a0cdb2f03241025fc61cca7baeb3787.zip
usrp: clear dsp when making new streamer
Diffstat (limited to 'host/lib/usrp/e100')
-rw-r--r--host/lib/usrp/e100/io_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/e100/io_impl.cpp b/host/lib/usrp/e100/io_impl.cpp
index 3b0828b45..855fda0d7 100644
--- a/host/lib/usrp/e100/io_impl.cpp
+++ b/host/lib/usrp/e100/io_impl.cpp
@@ -362,6 +362,7 @@ tx_streamer::sptr e100_impl::get_tx_stream(const uhd::stream_args_t &args_){
for (size_t chan_i = 0; chan_i < args.channels.size(); chan_i++){
const size_t dsp = args.channels[chan_i];
UHD_ASSERT_THROW(dsp == 0); //always 0
+ _tx_dsp->clear();
my_streamer->set_xport_chan_get_buff(chan_i, boost::bind(
&zero_copy_if::get_send_buff, _data_transport, _1
));