From aecc86fa008f11851477670ee337fd3970f94957 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 19 Sep 2014 23:14:30 +0200 Subject: [PATCH] Fix --debug option. It only showed messages processed after the phase correction, because of a programming error. --- dump1090.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump1090.c b/dump1090.c index d986e32..4160251 100644 --- a/dump1090.c +++ b/dump1090.c @@ -1493,7 +1493,7 @@ good_preamble: } /* Output debug mode info if needed. */ - if (use_correction) { + if (use_correction == 0) { if (Modes.debug & MODES_DEBUG_DEMOD) dumpRawMessage("Demodulated with 0 errors", msg, m, j); else if (Modes.debug & MODES_DEBUG_BADCRC &&