mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-14 01:03:01 -07:00
Update cmdhf14a.c
This commit is contained in:
parent
e6158a48ec
commit
18ab921cd2
1 changed files with 1 additions and 1 deletions
|
@ -714,7 +714,7 @@ static int SelectCard14443_4(bool disconnect, iso14a_card_select_t *card) {
|
||||||
// Anticollision + SELECT card
|
// Anticollision + SELECT card
|
||||||
UsbCommand ca = {CMD_READER_ISO_14443a, {ISO14A_CONNECT | ISO14A_NO_DISCONNECT, 0, 0}};
|
UsbCommand ca = {CMD_READER_ISO_14443a, {ISO14A_CONNECT | ISO14A_NO_DISCONNECT, 0, 0}};
|
||||||
SendCommand(&ca);
|
SendCommand(&ca);
|
||||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 1500)) {
|
if (!WaitForResponseTimeout(CMD_NACK, &resp, 500)) {
|
||||||
PrintAndLogEx(ERR, "Proxmark connection timeout.");
|
PrintAndLogEx(ERR, "Proxmark connection timeout.");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue