fix 14b dump

This commit is contained in:
iceman1001 2023-08-29 22:37:56 +02:00
commit 32f892e512

View file

@ -443,7 +443,7 @@ static bool get_14b_UID(uint8_t *d, iso14b_type_t *found_type) {
iso14b_card_select_t *card = (iso14b_card_select_t*)d; iso14b_card_select_t *card = (iso14b_card_select_t*)d;
uint8_t empty[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; uint8_t empty[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
if (memcmp(card->uid, empty, card->uidlen)) { if (memcmp(card->uid, empty, card->uidlen) == 0) {
return false; return false;
} }
*found_type = ISO14B_SR; *found_type = ISO14B_SR;