From d9ecd5a94e4eba22212dda2cb594c4b39804f300 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Fri, 15 Nov 2019 21:17:47 -0500 Subject: [PATCH] Turn off decoder debugging by default unless in debug mode --- commons.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/commons.h b/commons.h index 5a94694..75ec770 100644 --- a/commons.h +++ b/commons.h @@ -10,7 +10,12 @@ #define JS8_USE_IHSYM 0 // compute ihsym manually instead of from symspec #define JS8_RING_BUFFER 1 // use a ring buffer instead of clearing the decode frames #define JS8_SINGLE_DECODE 0 // single submode decode per instantiation of the decoder + +#ifdef QT_DEBUG #define JS8_DEBUG_DECODE 1 // emit debug statements for the decode pipeline +#else +#define JS8_DEBUG_DECODE 0 +#endif #define JS8_NUM_SYMBOLS 79 #define JS8_ENABLE_JS8A 1