change demod printing

This commit is contained in:
iceman1001 committed 2017-10-30 20:33:11 +01:00
1 parent 9632d91240
commit 54e8a0ae2b
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -283,8 +283,8 @@ bool is_justnoise(int *bits, uint32_t size) {
// measure amplitude of signal
bool isnoise = ABS(high - mean) < NOICE_AMPLITUDE_THRESHOLD;
if (g_debugMode == 2)
PrintAndLog("DEBUG: (is_justnoise) mean %u | hi %u | low %u | IS NOISE %c", mean, high, low, isnoise?'Y':'N');
if (g_debugMode == 1)
PrintAndLog("DEBUG: (is_justnoise) mean %i | hi %i | low %i | IS NOISE %c", mean, high, low, isnoise?'Y':'N');
return isnoise;