Fix swapped DESELECT and WTX annotations

This commit is contained in:
Ryan Saridar 2021-04-07 22:56:21 +01:00 committed by GitHub
parent ac0ad24bfe
commit 6f9a60f521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -743,10 +743,10 @@ void annotateMfDesfire(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
// S-block 11xxx010
if ((cmd[0] & 0xC0) && (cmdsize == 3)) {
switch ((cmd[0] & 0x30)) {
case 0x30:
case 0x00:
snprintf(exp, size, "S-block DESELECT");
break;
case 0x00:
case 0x30:
snprintf(exp, size, "S-block WTX");
break;
default: