aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-03 22:14:55 +0000
committerJosh Blum <josh@joshknows.com>2011-02-03 22:14:55 +0000
commit3993c827f6f7e79617d301dd6df44dfffb068e60 (patch)
tree48b5bb31c013c3e69c3e487c10ec6fe67fdb29b0 /host/lib/usrp/usrp1
parent8ffd7e04c4cf5089b3adbe211ce2c80f4e76ebd7 (diff)
downloaduhd-3993c827f6f7e79617d301dd6df44dfffb068e60.tar.gz
uhd-3993c827f6f7e79617d301dd6df44dfffb068e60.tar.bz2
uhd-3993c827f6f7e79617d301dd6df44dfffb068e60.zip
usrp-e100: use pre-bound get send/recv buffers in io impl
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r--host/lib/usrp/usrp1/io_impl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp
index 61d5fa872..e28b6efb5 100644
--- a/host/lib/usrp/usrp1/io_impl.cpp
+++ b/host/lib/usrp/usrp1/io_impl.cpp
@@ -103,13 +103,14 @@ private:
struct usrp1_impl::io_impl{
io_impl(zero_copy_if::sptr data_transport):
data_transport(data_transport),
+ get_recv_buffs_fcn(boost::bind(&usrp1_impl::io_impl::get_recv_buffs, this, _1)),
+ get_send_buffs_fcn(boost::bind(&usrp1_impl::io_impl::get_send_buffs, this, _1)),
underflow_poll_samp_count(0),
overflow_poll_samp_count(0),
curr_buff(offset_send_buffer(data_transport->get_send_buff())),
omsb(boost::bind(&usrp1_impl::io_impl::commit_send_buff, this, _1, _2, _3))
{
- get_recv_buffs_fcn = boost::bind(&usrp1_impl::io_impl::get_recv_buffs, this, _1);
- get_send_buffs_fcn = boost::bind(&usrp1_impl::io_impl::get_send_buffs, this, _1);
+ /* NOP */
}
~io_impl(void){