diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-01-25 23:13:18 +0100 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-02-18 06:50:08 -0500 |
commit | 15c86a13d974e673903ea0c6bac02157aeb9f50a (patch) | |
tree | d9ebda3923a10a3a4a5708494a04a5d00d27e3f8 /gr-digital/lib/simple_correlator_impl.h | |
parent | c5a1be2e93186df3c20ed2c0512dfd2e1ce7799e (diff) |
digital: Simple correlator debug not based on writing to file but logger
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-digital/lib/simple_correlator_impl.h')
-rw-r--r-- | gr-digital/lib/simple_correlator_impl.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gr-digital/lib/simple_correlator_impl.h b/gr-digital/lib/simple_correlator_impl.h index 505a2e296d..59188363c8 100644 --- a/gr-digital/lib/simple_correlator_impl.h +++ b/gr-digital/lib/simple_correlator_impl.h @@ -13,6 +13,7 @@ #include <gnuradio/digital/simple_correlator.h> +// To enable tracing to the debug logger, un-comment the following line //#define DEBUG_SIMPLE_CORRELATOR namespace gr { @@ -41,10 +42,6 @@ private: float d_avg; float d_accum; -#ifdef DEBUG_SIMPLE_CORRELATOR - FILE* d_debug_fp; // binary log file -#endif - inline int slice(float x) { return x >= d_avg ? 1 : 0; } void update_avg(float x); |