Merge pull request #3207 from kormax/mfdes-changekey-annotation

Fix DESFire ChangeKey 'keyNo' annotation value
This commit is contained in:
Iceman
2026-04-05 08:39:59 +07:00
committed by GitHub
+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");
}