diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-03-24 10:50:09 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-03-24 10:50:09 +0100 |
commit | d7fe3627a5f5ac1376af09a851d59c5c7919f29e (patch) | |
tree | 7f1350a67fec25dcd887f6124ed49ae4ddec19ca | |
parent | ed8e8bed00d5ad47a9d4798059fd0e3a8c3f7b8c (diff) | |
download | dabmod-d7fe3627a5f5ac1376af09a851d59c5c7919f29e.tar.gz dabmod-d7fe3627a5f5ac1376af09a851d59c5c7919f29e.tar.bz2 dabmod-d7fe3627a5f5ac1376af09a851d59c5c7919f29e.zip |
Remove debugging printf
-rw-r--r-- | src/output/Dexter.cpp | 5 | ||||
-rw-r--r-- | src/output/SDR.cpp | 16 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/output/Dexter.cpp b/src/output/Dexter.cpp index 93f1bb6..d892486 100644 --- a/src/output/Dexter.cpp +++ b/src/output/Dexter.cpp @@ -456,8 +456,6 @@ void Dexter::transmit_frame(struct FrameData&& frame) channel_up(); } - etiLog.level(debug) << "DEXTER TX " << frame.ts.fct << " TS margin " << margin_s; - if (m_require_timestamp_refresh) { etiLog.level(debug) << "DEXTER REQUIRE REFRESH"; channel_down(); @@ -482,9 +480,6 @@ void Dexter::transmit_frame(struct FrameData&& frame) channel_down(); break; } - else { - fprintf(stderr, "p"); - } num_buffers_pushed++; } num_frames_modulated++; diff --git a/src/output/SDR.cpp b/src/output/SDR.cpp index f53197e..726fb94 100644 --- a/src/output/SDR.cpp +++ b/src/output/SDR.cpp @@ -171,13 +171,6 @@ meta_vec_t SDR::process_metadata(const meta_vec_t& metadataIn) auto r = m_queue.push_overflow(std::move(frame), max_size); etiLog.log(trace, "SDR,push %d %zu", r.overflowed, r.new_size); - if (r.overflowed) { - fprintf(stderr, "o"); - } - else { - fprintf(stderr, "."); - } - num_queue_overflows += r.overflowed ? 1 : 0; } } @@ -356,15 +349,6 @@ void SDR::handle_frame(struct FrameData&& frame) return; } - etiLog.level(debug) << - "OutputSDR: Timestamp at FCT=" << frame.ts.fct << " offset: " << - std::fixed << - time_spec.get_real_secs() - device_time << - " (" << device_time << ")" - " frame " << frame.ts.fct << - ", tx_second " << tx_second << - ", pps " << pps_offset; - if (time_spec.get_real_secs() > device_time + TIMESTAMP_ABORT_FUTURE) { etiLog.level(error) << "OutputSDR: Timestamp way too far in the future at FCT=" << frame.ts.fct << " offset: " << |