mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-27 01:25:41 +08:00
Fix swapped DESELECT and WTX annotations
This commit is contained in:
parent
ac0ad24bfe
commit
6f9a60f521
1 changed files with 2 additions and 2 deletions
|
@ -743,10 +743,10 @@ void annotateMfDesfire(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
|
||||||
// S-block 11xxx010
|
// S-block 11xxx010
|
||||||
if ((cmd[0] & 0xC0) && (cmdsize == 3)) {
|
if ((cmd[0] & 0xC0) && (cmdsize == 3)) {
|
||||||
switch ((cmd[0] & 0x30)) {
|
switch ((cmd[0] & 0x30)) {
|
||||||
case 0x30:
|
case 0x00:
|
||||||
snprintf(exp, size, "S-block DESELECT");
|
snprintf(exp, size, "S-block DESELECT");
|
||||||
break;
|
break;
|
||||||
case 0x00:
|
case 0x30:
|
||||||
snprintf(exp, size, "S-block WTX");
|
snprintf(exp, size, "S-block WTX");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue