From 18ab921cd25fe4f4b803a85e46ecddab99ea01b0 Mon Sep 17 00:00:00 2001 From: libin-ka <46210417+libin-ka@users.noreply.github.com> Date: Fri, 16 Oct 2020 13:19:05 +0800 Subject: [PATCH] Update cmdhf14a.c --- client/cmdhf14a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhf14a.c b/client/cmdhf14a.c index 58315582..26cd7223 100644 --- a/client/cmdhf14a.c +++ b/client/cmdhf14a.c @@ -714,7 +714,7 @@ static int SelectCard14443_4(bool disconnect, iso14a_card_select_t *card) { // Anticollision + SELECT card UsbCommand ca = {CMD_READER_ISO_14443a, {ISO14A_CONNECT | ISO14A_NO_DISCONNECT, 0, 0}}; SendCommand(&ca); - if (!WaitForResponseTimeout(CMD_ACK, &resp, 1500)) { + if (!WaitForResponseTimeout(CMD_NACK, &resp, 500)) { PrintAndLogEx(ERR, "Proxmark connection timeout."); return 1; }