From c7d60e5f1167645b9743d67f7f8d4c4915a9f0fd Mon Sep 17 00:00:00 2001 From: Mekare Date: Wed, 7 Dec 2022 21:19:35 +0100 Subject: [PATCH] mf_classic_check_card_type: ATQA1 is used --- lib/nfc/protocols/mifare_classic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/nfc/protocols/mifare_classic.c b/lib/nfc/protocols/mifare_classic.c index b7a52bc01..aa2936cb5 100644 --- a/lib/nfc/protocols/mifare_classic.c +++ b/lib/nfc/protocols/mifare_classic.c @@ -352,7 +352,6 @@ static bool mf_classic_is_allowed_access( } bool mf_classic_check_card_type(uint8_t ATQA0, uint8_t ATQA1, uint8_t SAK) { - UNUSED(ATQA1); if((ATQA0 == 0x44 || ATQA0 == 0x04) && (SAK == 0x08 || SAK == 0x88 || SAK == 0x09)) { return true; } else if((ATQA0 == 0x01) && (ATQA1 == 0x0F) && (SAK == 0x01)) {