chg: noise detection

This commit is contained in:
iceman1001 2017-11-06 15:32:46 +01:00
parent 609008b3ad
commit e3ac1c586f

View file

@ -1147,7 +1147,8 @@ int EM4x05ReadWord_ext(uint8_t addr, uint32_t pwd, bool usePwd, uint32_t *word)
return -1;
}
int testLen = (GraphTraceLen < 1000) ? GraphTraceLen : 1000;
if (is_justnoise(GraphBuffer, testLen)) {
if (justNoise_int(GraphBuffer, testLen)) {
PrintAndLog("no tag found");
return -1;
}