mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
chg: lf cotag demod - adjusted error trigger
This commit is contained in:
parent
8ed6c18497
commit
0004b1075e
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ static int CmdCOTAGDemod(const char *Cmd) {
|
||||||
|
|
||||||
uint8_t alignPos = 0;
|
uint8_t alignPos = 0;
|
||||||
uint16_t err = manrawdecode(bits, &bitlen, 1, &alignPos);
|
uint16_t err = manrawdecode(bits, &bitlen, 1, &alignPos);
|
||||||
if (err == 0xFFFF) {
|
if (err > 50 ) {
|
||||||
if (g_debugMode) PrintAndLogEx(DEBUG, "DEBUG: Error - COTAG too many errors: %d", err);
|
PrintAndLogEx(DEBUG, "DEBUG: Error - COTAG too many errors: %d", err);
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue