diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-16 07:22:11 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-16 07:22:11 +0000 |
commit | a47e75c84099081a7f7b2a13e11c3615bed22a5c (patch) | |
tree | 457cf6bca6b0916cd0a12de2f261f81e53647d50 /host | |
parent | 076692f74e86317f337df85b222f391f541d6bbf (diff) | |
download | uhd-a47e75c84099081a7f7b2a13e11c3615bed22a5c.tar.gz uhd-a47e75c84099081a7f7b2a13e11c3615bed22a5c.tar.bz2 uhd-a47e75c84099081a7f7b2a13e11c3615bed22a5c.zip |
usrp-e: removed vrt header rewrite in io impl, its not in vrt packet parser stuff
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/usrp_e/io_impl.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/host/lib/usrp/usrp_e/io_impl.cpp b/host/lib/usrp/usrp_e/io_impl.cpp index d1a00bf25..ecde9ca27 100644 --- a/host/lib/usrp/usrp_e/io_impl.cpp +++ b/host/lib/usrp/usrp_e/io_impl.cpp @@ -110,11 +110,7 @@ private: return -1; } - //overwrite the vrt header length with the transfer frame length - usrp_transfer_frame *frame = boost::asio::buffer_cast<usrp_transfer_frame *>(buff); - boost::uint32_t *vrt_header = reinterpret_cast<boost::uint32_t *>(frame->buf); - vrt_header[0] = (vrt_header[0] & ~0xffff) | ((frame->len/sizeof(boost::uint32_t)) & 0xffff); - + //usrp_transfer_frame *frame = boost::asio::buffer_cast<usrp_transfer_frame *>(buff); //std::cout << "len " << int(frame->len) << std::endl; //for (size_t i = 0; i < 9; i++){ // std::cout << boost::format(" 0x%08x") % boost::asio::buffer_cast<boost::uint32_t *>(buff)[i] << std::endl; |