summaryrefslogtreecommitdiff
path: root/gr-dtv/lib/atsc/atsc_fs_checker_impl.h
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2020-04-11 01:05:51 +0200
committerMarcus Müller <marcus@hostalia.de>2020-04-13 15:55:41 +0200
commite52e4b1eb1a6d8e769b41d3f45f105f39b67b14c (patch)
tree7e7b62274d12819d966ce8534584f7e667b2de98 /gr-dtv/lib/atsc/atsc_fs_checker_impl.h
parent95178211eb87d6bf40d51210cf501e6e840863fe (diff)
dtv: replace stderr logging by calls to GR's logging facilties
This is but a first step; a lot of code in gr-dtv is very much libc in C++, thus we'll have a lot of printf's to deal with in the future.
Diffstat (limited to 'gr-dtv/lib/atsc/atsc_fs_checker_impl.h')
-rw-r--r--gr-dtv/lib/atsc/atsc_fs_checker_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-dtv/lib/atsc/atsc_fs_checker_impl.h b/gr-dtv/lib/atsc/atsc_fs_checker_impl.h
index 34899990a3..30f2a892a1 100644
--- a/gr-dtv/lib/atsc/atsc_fs_checker_impl.h
+++ b/gr-dtv/lib/atsc/atsc_fs_checker_impl.h
@@ -13,6 +13,7 @@
#include "atsc_syminfo_impl.h"
#include <gnuradio/dtv/atsc_fs_checker.h>
+#include <gnuradio/logger.h>
namespace gr {
namespace dtv {
@@ -27,6 +28,8 @@ private:
unsigned char d_bit_sr[SRSIZE]; // binary decision shift register
int d_field_num;
int d_segment_num;
+ gr::logger_ptr d_logger;
+ gr::logger_ptr d_debug_logger;
static constexpr int OFFSET_511 = 4; // offset to second PN 63 pattern
static constexpr int LENGTH_511 = 511; // length of PN 63 pattern