fix: justnoice

This commit is contained in:
Chris 2018-09-05 19:16:49 +02:00
parent 8b047ae9f5
commit 4200ed5dc9
2 changed files with 2 additions and 2 deletions

View file

@ -1148,7 +1148,7 @@ int EM4x05ReadWord_ext(uint8_t addr, uint32_t pwd, bool usePwd, uint32_t *word)
} }
int testLen = (GraphTraceLen < 1000) ? GraphTraceLen : 1000; int testLen = (GraphTraceLen < 1000) ? GraphTraceLen : 1000;
if (justNoise_int(GraphBuffer, testLen)) { if (justNoise(GraphBuffer, testLen)) {
PrintAndLogEx(DEBUG, "No tag found"); PrintAndLogEx(DEBUG, "No tag found");
return -1; return -1;
} }

View file

@ -1315,7 +1315,7 @@ bool AquireData( uint8_t page, uint8_t block, bool pwdmode, uint32_t password ){
} }
setGraphBuf(got, sizeof(got)); setGraphBuf(got, sizeof(got));
return !justNoise_int(GraphBuffer, sizeof(got)); return !justNoise(GraphBuffer, sizeof(got));
} }
char * GetBitRateStr(uint32_t id, bool xmode) { char * GetBitRateStr(uint32_t id, bool xmode) {