diff options
author | Josh Blum <josh@joshknows.com> | 2011-08-08 19:15:26 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-08-08 19:15:26 -0700 |
commit | 0aa3e4e6782527aebb6d5e21160337b5e5dd98a4 (patch) | |
tree | ac6e24168d29dd0308ce135867963d9db9c9279f /host | |
parent | 885cc430ae9b7a3c877484cdb396109c63261694 (diff) | |
download | uhd-0aa3e4e6782527aebb6d5e21160337b5e5dd98a4.tar.gz uhd-0aa3e4e6782527aebb6d5e21160337b5e5dd98a4.tar.bz2 uhd-0aa3e4e6782527aebb6d5e21160337b5e5dd98a4.zip |
usrp1: fix for multi-channel, OTW channel width is always 1
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/usrp1/io_impl.cpp | 4 |
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 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 |