aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-23 18:56:15 -0700
committerJosh Blum <josh@joshknows.com>2010-09-23 18:56:15 -0700
commit5d6d25b49cc783ef012410064bc9eb0e66e50227 (patch)
treecde46dbfc84917477d93d07440f59d7537b57e71 /host/lib/usrp/usrp1/io_impl.cpp
parent5fc96b27b9493506bd7ad60eb37f98f651de6545 (diff)
parent188162a4dd59b47cf95d4be82e510faf9675a55d (diff)
downloaduhd-5d6d25b49cc783ef012410064bc9eb0e66e50227.tar.gz
uhd-5d6d25b49cc783ef012410064bc9eb0e66e50227.tar.bz2
uhd-5d6d25b49cc783ef012410064bc9eb0e66e50227.zip
Merge branch 'libusb_win'
Diffstat (limited to 'host/lib/usrp/usrp1/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/io_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp
index 146038bd9..73974f2d6 100644
--- a/host/lib/usrp/usrp1/io_impl.cpp
+++ b/host/lib/usrp/usrp1/io_impl.cpp
@@ -184,7 +184,7 @@ bool usrp1_impl::io_impl::get_send_buffs(
));
}
- return buffs[0].get();
+ return buffs[0].get() != NULL;
}
/***********************************************************************
@@ -277,7 +277,7 @@ static bool get_recv_buffs(
){
UHD_ASSERT_THROW(buffs.size() == 1);
buffs[0] = zc_if->get_recv_buff();
- return buffs[0].get();
+ return buffs[0].get() != NULL;
}
size_t usrp1_impl::recv(