summaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-06 13:38:29 -0700
committerJosh Blum <josh@joshknows.com>2011-11-03 20:37:11 -0700
commitde17ef4614c3c14212f239e3c735bfde3f47a68f (patch)
treed9a0c273db283d7ee7f19cc23853f95d3cd78b23 /host/lib/transport
parentfac15db5d77c5196badb4a06f2f5fec34eb57337 (diff)
downloaduhd-de17ef4614c3c14212f239e3c735bfde3f47a68f.tar.gz
uhd-de17ef4614c3c14212f239e3c735bfde3f47a68f.tar.bz2
uhd-de17ef4614c3c14212f239e3c735bfde3f47a68f.zip
usrp1: multi channel receive working
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/super_recv_packet_handler.hpp2
-rw-r--r--host/lib/transport/super_send_packet_handler.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/transport/super_recv_packet_handler.hpp b/host/lib/transport/super_recv_packet_handler.hpp
index de7b4b34c..83c8988e8 100644
--- a/host/lib/transport/super_recv_packet_handler.hpp
+++ b/host/lib/transport/super_recv_packet_handler.hpp
@@ -123,7 +123,7 @@ public:
//! Set the conversion routine for all channels
void set_converter(const uhd::convert::id_type &id){
- _io_buffs.resize(id.num_inputs);
+ _io_buffs.resize(id.num_outputs);
_converter = uhd::convert::get_converter(id);
_bytes_per_otw_item = uhd::convert::get_bytes_per_item(id.input_markup);
_bytes_per_cpu_item = uhd::convert::get_bytes_per_item(id.output_markup);
diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp
index 42bac5e21..1ac178ad2 100644
--- a/host/lib/transport/super_send_packet_handler.hpp
+++ b/host/lib/transport/super_send_packet_handler.hpp
@@ -99,7 +99,7 @@ public:
//! Set the conversion routine for all channels
void set_converter(const uhd::convert::id_type &id){
- _io_buffs.resize(id.num_outputs);
+ _io_buffs.resize(id.num_inputs);
_converter = uhd::convert::get_converter(id);
_bytes_per_otw_item = uhd::convert::get_bytes_per_item(id.output_markup);
_bytes_per_cpu_item = uhd::convert::get_bytes_per_item(id.input_markup);