From d7fe3627a5f5ac1376af09a851d59c5c7919f29e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 24 Mar 2023 10:50:09 +0100 Subject: Remove debugging printf --- src/output/Dexter.cpp | 5 ----- src/output/SDR.cpp | 16 ---------------- 2 files changed, 21 deletions(-) (limited to 'src/output') 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: " << -- cgit v1.2.3