mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-14 09:04:46 +08:00
change demod printing
This commit is contained in:
parent
9632d91240
commit
54e8a0ae2b
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ bool justNoise(uint8_t *bits, size_t size) {
|
|||
// measure amplitude of signal
|
||||
bool isnoise = (high - mean) < NOICE_AMPLITUDE_THRESHOLD;
|
||||
|
||||
if (g_debugMode == 2)
|
||||
if (g_debugMode == 1)
|
||||
prnt("DEBUG: (justNoise) mean %u | hi %u | low %u | IS NOISE %c", mean, high, low, isnoise?'Y':'N');
|
||||
|
||||
return isnoise;
|
||||
|
|
Loading…
Reference in a new issue