aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-28 11:11:29 -0700
committerJosh Blum <josh@joshknows.com>2010-09-28 11:11:29 -0700
commit071c4d4226d9cbeb1f1f67139261b13205816d8a (patch)
tree6593df48a731cb6bff687822b284fcba649cf6f6 /host/lib/usrp/usrp2/io_impl.cpp
parentf5bdb7ccb39ef23d4b2c0872fe410e9d5d031958 (diff)
parent852f5c5f7b31bfb2e7561a86ca9f5380bd53d130 (diff)
downloaduhd-071c4d4226d9cbeb1f1f67139261b13205816d8a.tar.gz
uhd-071c4d4226d9cbeb1f1f67139261b13205816d8a.tar.bz2
uhd-071c4d4226d9cbeb1f1f67139261b13205816d8a.zip
Merge branch 'master' into libusb
Diffstat (limited to 'host/lib/usrp/usrp2/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index 91a1b2344..65411801d 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -150,7 +150,7 @@ 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().get());
+ while (data_transport->get_recv_buff().get()){};
}
//the number of recv frames is the number for the first transport