mf_classic_check_card_type: ATQA1 is used

This commit is contained in:
Mekare
2022-12-07 21:19:35 +01:00
parent 68b3cc233b
commit c7d60e5f11
-1
View File
@@ -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)) {