Skip to content

Commit

Permalink
add logging to stdout for wav file
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Dec 25, 2023
1 parent c65bd76 commit 4606225
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/correlate_access_code_bb_ts_fl_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,14 @@ int correlate_access_code_bb_ts_fl_impl::general_work(
pmt::from_long(d_pkt_len), // length data
d_me); // block src id

std::stringstream ss;

for (int j = 0; j < d_pkt_len; j++) {
out[nprod++] = in[j];
ss << std::to_string(static_cast<uint8_t>(in[j]));
}

GR_LOG_DEBUG(d_logger, boost::format(ss.str()));
}

consume_each(1);
Expand Down

0 comments on commit 4606225

Please sign in to comment.