less waiting
This commit is contained in:
@@ -1240,7 +1240,7 @@ uint8_t chkKey(struct chk_t *c) {
|
|||||||
}
|
}
|
||||||
res = mifare_classic_authex(c->pcs, c->cuid, c->block, c->keyType, c->key, AUTH_FIRST, NULL, NULL);
|
res = mifare_classic_authex(c->pcs, c->cuid, c->block, c->keyType, c->key, AUTH_FIRST, NULL, NULL);
|
||||||
|
|
||||||
CHK_TIMEOUT();
|
// CHK_TIMEOUT();
|
||||||
|
|
||||||
// if successful auth, send HALT
|
// if successful auth, send HALT
|
||||||
// if ( !res )
|
// if ( !res )
|
||||||
@@ -1760,7 +1760,7 @@ void MifareChkKeys(uint8_t *datain) {
|
|||||||
key = bytes_to_num(datain + i * 6, 6);
|
key = bytes_to_num(datain + i * 6, 6);
|
||||||
res = mifare_classic_auth(pcs, cuid, blockNo, keyType, key, AUTH_FIRST);
|
res = mifare_classic_auth(pcs, cuid, blockNo, keyType, key, AUTH_FIRST);
|
||||||
|
|
||||||
CHK_TIMEOUT();
|
// CHK_TIMEOUT();
|
||||||
|
|
||||||
if (res)
|
if (res)
|
||||||
continue;
|
continue;
|
||||||
@@ -2229,7 +2229,7 @@ void MifareHasStaticNonce() {
|
|||||||
|
|
||||||
nt = bytes_to_num(rec, 4);
|
nt = bytes_to_num(rec, 4);
|
||||||
|
|
||||||
CHK_TIMEOUT();
|
// CHK_TIMEOUT();
|
||||||
}
|
}
|
||||||
|
|
||||||
OUT:
|
OUT:
|
||||||
|
|||||||
Reference in New Issue
Block a user