From 0aa3e4e6782527aebb6d5e21160337b5e5dd98a4 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 8 Aug 2011 19:15:26 -0700 Subject: usrp1: fix for multi-channel, OTW channel width is always 1 --- host/lib/usrp/usrp1/io_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp index e81b00d1c..28399ce57 100644 --- a/host/lib/usrp/usrp1/io_impl.cpp +++ b/host/lib/usrp/usrp1/io_impl.cpp @@ -333,7 +333,7 @@ void usrp1_impl::update_rx_subdev_spec(const uhd::usrp::subdev_spec_t &spec){ validate_subdev_spec(_tree, spec, "rx"); _rx_subdev_spec = spec; //shadow - _io_impl->recv_handler.resize(spec.size()); + //_io_impl->recv_handler.resize(spec.size()); //always 1 _io_impl->recv_handler.set_converter(_rx_otw_type, spec.size()); //set the mux and set the number of rx channels @@ -356,7 +356,7 @@ void usrp1_impl::update_tx_subdev_spec(const uhd::usrp::subdev_spec_t &spec){ validate_subdev_spec(_tree, spec, "tx"); _tx_subdev_spec = spec; //shadow - _io_impl->send_handler.resize(spec.size()); + //_io_impl->send_handler.resize(spec.size()); //always 1 _io_impl->send_handler.set_converter(_tx_otw_type, spec.size()); //set the mux and set the number of tx channels -- cgit v1.2.3