aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-12 10:55:07 -0700
committerJosh Blum <josh@joshknows.com>2010-10-12 10:55:07 -0700
commitf9755b0ab33eb20abb5689893061f3b4039505fd (patch)
tree0eef45b8a9a8dde3a3ace7b73f00a1bb3a08828d /host/lib/usrp/usrp2/io_impl.cpp
parentb49e2955b0f68d59e7903f89a26c39dc9b3614fd (diff)
downloaduhd-f9755b0ab33eb20abb5689893061f3b4039505fd.tar.gz
uhd-f9755b0ab33eb20abb5689893061f3b4039505fd.tar.bz2
uhd-f9755b0ab33eb20abb5689893061f3b4039505fd.zip
uhd: test eob ack message, usrp2: remove rx drain on init with the promise of a reset register
Diffstat (limited to 'host/lib/usrp/usrp2/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index c9271cc8c..48ff7d509 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -249,8 +249,6 @@ void usrp2_impl::io_init(void){
};
std::memcpy(send_buff->cast<void*>(), &data, sizeof(data));
send_buff->commit(sizeof(data));
- //drain the recv buffers (may have junk)
- while (data_transport->get_recv_buff(0).get()){};
}
//the assumption is that all data transports should be identical