Fix DESFire ChangeKey 'keyNo' annotation value

This commit is contained in:
kormax
2026-04-04 21:43:24 +03:00
parent 2e49d441b9
commit e78735e26e
+1 -1
View File
@@ -1194,7 +1194,7 @@ void annotateMfDesfire(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
break;
case MFDES_CHANGE_KEY:
if (data_size >= 1) {
snprintf(exp, size, "CHANGE KEY (keyNo %u)", data[0]);
snprintf(exp, size, "CHANGE KEY (keyNo %u)", data[0] & 0x3F);
} else {
snprintf(exp, size, "CHANGE KEY");
}