Skip to content

Commit

Permalink
burst-tagger: Print a message when an rx_time tag comes in
Browse files Browse the repository at this point in the history
  • Loading branch information
schneider42 committed May 13, 2022
1 parent a2b8eb1 commit f23b87d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/fft_burst_tagger_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,9 @@ int fft_burst_tagger_impl::work(int noutput_items,
const uint64_t seconds = pmt::to_uint64(pmt::tuple_ref(value, 0));
const double seconds_fraction = pmt::to_double(pmt::tuple_ref(value, 1));

std::cerr << "Got rx_time tag: " << seconds << " + " << seconds_fraction
<< " seconds." << std::endl;

d_last_rx_time_timestamp =
seconds * 1000000000ULL + (uint64_t)(seconds_fraction * 1000000000ULL);
}
Expand Down

0 comments on commit f23b87d

Please sign in to comment.