Advertisement
Guest User

Untitled

a guest
Apr 9th, 2013
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
  2. index e06cf8f..10ca14e 100644
  3. --- a/host/lib/usrp/usrp2/io_impl.cpp
  4. +++ b/host/lib/usrp/usrp2/io_impl.cpp
  5. @@ -211,7 +211,8 @@ void usrp2_impl::io_impl::recv_pirate_loop(
  6. if (metadata.event_code == 0){
  7. boost::uint32_t fc_word32 = (vrt_hdr + if_packet_info.num_header_words32)[1];
  8. fc_mon.update_fc_condition(uhd::ntohx(fc_word32));
  9. - continue;
  10. + metadata.user_payload[0] = fc_word32;
  11. + //continue;
  12. }
  13. //else UHD_MSG(often) << "metadata.event_code " << metadata.event_code << std::endl;
  14. async_msg_fifo.push_with_pop_on_full(metadata);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement