Fix --debug option.
It only showed messages processed after the phase correction, because of a programming error.
This commit is contained in:
parent
53cca39ed5
commit
aecc86fa00
@ -1493,7 +1493,7 @@ good_preamble:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Output debug mode info if needed. */
|
/* Output debug mode info if needed. */
|
||||||
if (use_correction) {
|
if (use_correction == 0) {
|
||||||
if (Modes.debug & MODES_DEBUG_DEMOD)
|
if (Modes.debug & MODES_DEBUG_DEMOD)
|
||||||
dumpRawMessage("Demodulated with 0 errors", msg, m, j);
|
dumpRawMessage("Demodulated with 0 errors", msg, m, j);
|
||||||
else if (Modes.debug & MODES_DEBUG_BADCRC &&
|
else if (Modes.debug & MODES_DEBUG_BADCRC &&
|
||||||
|
Loading…
Reference in New Issue
Block a user