mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
fix 14b dump
This commit is contained in:
@@ -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;
|
||||
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;
|
||||
}
|
||||
*found_type = ISO14B_SR;
|
||||
|
||||
Reference in New Issue
Block a user