aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-22 19:14:57 -0700
committerJosh Blum <josh@joshknows.com>2010-09-22 19:14:57 -0700
commit7ee585f2b9f74a3732e364095f7e5b8f18ae3595 (patch)
tree053c2852dc277963c48a482a65d43bd1d6eff607 /host/lib/usrp/usrp1/io_impl.cpp
parent000578892e9cf8f0117b55dc5d770faad36740d0 (diff)
downloaduhd-7ee585f2b9f74a3732e364095f7e5b8f18ae3595.tar.gz
uhd-7ee585f2b9f74a3732e364095f7e5b8f18ae3595.tar.bz2
uhd-7ee585f2b9f74a3732e364095f7e5b8f18ae3595.zip
usrp1: multi-channel rx working, modified vrt handler to deinterleave
Diffstat (limited to 'host/lib/usrp/usrp1/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/io_impl.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp
index 7446c7f7c..a813a0462 100644
--- a/host/lib/usrp/usrp1/io_impl.cpp
+++ b/host/lib/usrp/usrp1/io_impl.cpp
@@ -290,7 +290,10 @@ size_t usrp1_impl::recv(
io_type, _rx_otw_type, //input and output types to convert
_clock_ctrl->get_master_clock_freq(), //master clock tick rate
&usrp1_bs_vrt_unpacker,
- boost::bind(&get_recv_buffs, _data_transport, _1)
+ boost::bind(&get_recv_buffs, _data_transport, _1),
+ &vrt_packet_handler::handle_overflow_nop,
+ 0, //vrt header offset
+ _rx_subdev_spec.size() //num channels
);
//handle the polling for overflow conditions