mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-23 15:47:42 +08:00
chg: noise detection
This commit is contained in:
parent
609008b3ad
commit
e3ac1c586f
1 changed files with 2 additions and 1 deletions
|
@ -1147,7 +1147,8 @@ int EM4x05ReadWord_ext(uint8_t addr, uint32_t pwd, bool usePwd, uint32_t *word)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
int testLen = (GraphTraceLen < 1000) ? GraphTraceLen : 1000;
|
int testLen = (GraphTraceLen < 1000) ? GraphTraceLen : 1000;
|
||||||
if (is_justnoise(GraphBuffer, testLen)) {
|
|
||||||
|
if (justNoise_int(GraphBuffer, testLen)) {
|
||||||
PrintAndLog("no tag found");
|
PrintAndLog("no tag found");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue