This commit is contained in:
Oleg Moiseenko 2017-11-01 16:05:40 +00:00 committed by GitHub
commit 4300dd4e93

View file

@ -1820,10 +1820,8 @@ int iso14443a_select_card(byte_t *uid_ptr, iso14a_card_select_t *p_hi14a_card, u
p_hi14a_card->sak = sak;
}
// non iso14443a compliant tag
if( (sak & 0x20) == 0) return 2;
if (!no_rats) {
// PICC compilant with iso14443a-4 ---> (SAK & 0x20 != 0)
if (sak & 0x20 && !no_rats) {
// Request for answer to select
AppendCrc14443a(rats, 2);
ReaderTransmit(rats, sizeof(rats), NULL);