From: merlokk Date: Wed, 1 Nov 2017 16:34:15 +0000 (+0200) Subject: fix behavier reading iso14443-3 and iso14443-4 cards X-Git-Tag: v3.1.0~133^2~7 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/499df9088d5845d954918da51dc339becd4a7da4?hp=7376da5c44ac5d33c3515730f7213a64d51d696a fix behavier reading iso14443-3 and iso14443-4 cards --- diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index 33db9f22..c39b8a20 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -1935,7 +1935,10 @@ void ReaderIso14443a(UsbCommand *c) arg0 = iso14443a_select_card(NULL, card, NULL, true, 0, param & ISO14A_NO_RATS); // if we cant select then we cant send data - cantSELECT = (arg0 != 1); + if (arg0 != 1 && arg0 != 2) { + // 1 - all is OK with ATS, 2 - without ATS + cantSELECT = true; + } LED_B_ON(); cmd_send(CMD_ACK,arg0,card->uidlen,0,buf,sizeof(iso14a_card_select_t));