Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 9th, 2013  |  syntax: None  |  size: 0.77 KB  |  hits: 56  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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);