From e71e37e54f3df6bcd77aaaec5aac18db082b81a2 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 12 Nov 2016 09:11:35 +0100 Subject: Revert "using of IS_ENABLED in files used in tiny build (nw)" This reverts commit 1efccdd38d4bac6ec44e13f0a6cdf877e3a1c7cb. --- src/lib/util/vbiparse.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/util/vbiparse.cpp') diff --git a/src/lib/util/vbiparse.cpp b/src/lib/util/vbiparse.cpp index dc9c22f9176..bfd145dd99f 100644 --- a/src/lib/util/vbiparse.cpp +++ b/src/lib/util/vbiparse.cpp @@ -204,7 +204,7 @@ bool vbi_parse_white_flag(const uint16_t *source, int sourcewidth, int sourceshi break; /* this is useful for debugging issues with white flag detection */ - if (IS_ENABLED(PRINTF_WHITE_FLAG)) + if (PRINTF_WHITE_FLAG) { printf("Histo: min=%02X max=%02X\n", minval, maxval); for (x = 0; x < 256; x++) @@ -214,7 +214,7 @@ bool vbi_parse_white_flag(const uint16_t *source, int sourcewidth, int sourceshi /* ignore if we have no dynamic range */ if (maxval - minval < 10) { - if (IS_ENABLED(PRINTF_WHITE_FLAG)) + if (PRINTF_WHITE_FLAG) printf("White flag NOT detected; threshold too low\n"); return false; } @@ -242,7 +242,7 @@ bool vbi_parse_white_flag(const uint16_t *source, int sourcewidth, int sourceshi /* return true if it is above the 90% mark */ result = (peakval > minval + 9 * (maxval - minval) / 10); - if (IS_ENABLED(PRINTF_WHITE_FLAG)) + if (PRINTF_WHITE_FLAG) printf("White flag %s: peak=%02X thresh=%02X\n", result ? "detected" : "NOT detected", peakval, minval + 9 * (maxval - minval) / 10); return result; -- cgit v1.2.3-70-g09d2