diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-14 19:52:30 +0100 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-14 19:52:30 +0100 |
commit | bc87971891df7f47c8240a24d2a602c6ae63bbc2 (patch) | |
tree | 2607209649de7d4042c9e176c6fc2090fd692e48 /host | |
parent | 0729cfef86687f897d74043bb2fdf9e8559413f8 (diff) | |
download | uhd-bc87971891df7f47c8240a24d2a602c6ae63bbc2.tar.gz uhd-bc87971891df7f47c8240a24d2a602c6ae63bbc2.tar.bz2 uhd-bc87971891df7f47c8240a24d2a602c6ae63bbc2.zip |
e100: bug fix w/ SID parsing (endianess)
Diffstat (limited to 'host')
-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 91b129276..998a715fe 100644 --- a/host/lib/usrp/usrp_e100/io_impl.cpp +++ b/host/lib/usrp/usrp_e100/io_impl.cpp @@ -123,7 +123,7 @@ void usrp_e100_impl::io_impl::recv_pirate_loop( const boost::uint32_t *vrt_hdr = buff->cast<const boost::uint32_t *>(); //handle an rx data packet or inline message - if (uhd::ntohx(vrt_hdr[1]) == rx_data_inline_sid){ //ASSUME has_sid + if (uhd::wtohx(vrt_hdr[1]) == rx_data_inline_sid){ //ASSUME has_sid if (fp_recv_debug) UHD_LOGV(always) << "this is rx_data_inline_sid\n"; //same number of frames as the data transport -> always immediate recv_pirate_booty.push_with_wait(buff); |