diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-16 18:47:44 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-16 18:47:44 -0700 |
commit | 5f49df7cab3cf4e726771178a87201f884947a6e (patch) | |
tree | 5214de6b9e3a37659596858b8d3aac74d4f24c91 /host/lib/usrp/usrp_e100 | |
parent | 4caf9db3dbe6d04c98236072d562a805afce9085 (diff) | |
download | uhd-5f49df7cab3cf4e726771178a87201f884947a6e.tar.gz uhd-5f49df7cab3cf4e726771178a87201f884947a6e.tar.bz2 uhd-5f49df7cab3cf4e726771178a87201f884947a6e.zip |
b100: support for dual dsp
Diffstat (limited to 'host/lib/usrp/usrp_e100')
-rw-r--r-- | host/lib/usrp/usrp_e100/io_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp_e100/io_impl.cpp b/host/lib/usrp/usrp_e100/io_impl.cpp index 4364f131f..f590951dc 100644 --- a/host/lib/usrp/usrp_e100/io_impl.cpp +++ b/host/lib/usrp/usrp_e100/io_impl.cpp @@ -126,7 +126,7 @@ void usrp_e100_impl::io_impl::recv_pirate_loop( //handle an rx data packet or inline message const boost::uint32_t *vrt_hdr = buff->cast<const boost::uint32_t *>(); - const size_t rx_index = vrt_hdr[1] - E100_DSP_SID_BASE; + const size_t rx_index = uhd::wtohx(vrt_hdr[1]) - E100_DSP_SID_BASE; if (rx_index < E100_NUM_RX_DSPS){ debug_print_buff("data", buff); recv_pirate_booty[rx_index]->push_with_wait(buff); |