hf mfu info: fix strong mod bit parsing

"2" was probably referring to bit 2 == 0x04
I checked the following datasheets and STRG_MOD_EN is always at 0x04:
- UL EV1
- NTAG 213/215/216
- NTAG 213_F/216_F
This commit is contained in:
Philippe Teuwen 2025-01-16 22:43:35 +01:00
commit 9c05f2c729

View file

@ -1142,8 +1142,7 @@ static int ulev1_print_configuration(uint64_t tagtype, uint8_t *data, uint8_t st
PrintAndLogEx(NORMAL, "");
PrintAndLogEx(INFO, "--- " _CYAN_("Tag Configuration"));
bool strg_mod_en = (data[0] & 2);
bool strg_mod_en = (data[0] & 0x04);
uint8_t authlim = (data[4] & 0x07);
bool nfc_cnf_prot_pwd = ((data[4] & 0x08) == 0x08);
bool nfc_cnf_en = ((data[4] & 0x10) == 0x10);