mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-15 19:59:34 +08:00
only set new timeout if its faster :)
This commit is contained in:
parent
d956e8c2a3
commit
2412961411
1 changed files with 2 additions and 1 deletions
|
@ -194,6 +194,7 @@ int mifare_classic_authex(struct Crypto1State *pcs, uint32_t uid, uint8_t blockN
|
||||||
uint32_t save_timeout = iso14a_get_timeout();
|
uint32_t save_timeout = iso14a_get_timeout();
|
||||||
|
|
||||||
// set timeout for authentication response
|
// set timeout for authentication response
|
||||||
|
if (save_timeout > 106)
|
||||||
iso14a_set_timeout(106);
|
iso14a_set_timeout(106);
|
||||||
|
|
||||||
// Receive 4 byte tag answer
|
// Receive 4 byte tag answer
|
||||||
|
|
Loading…
Reference in a new issue