Skip to content

Commit 396032c

Browse files
committed
Remove unused ISO14A_COMMAND flags
1 parent 7230f99 commit 396032c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

client/lualibs/read14a.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ local ISO14A_COMMAND = {
2929
ISO14A_TOPAZMODE = 0x100,
3030
ISO14A_NO_RATS = 0x200,
3131
ISO14A_SEND_CHAINING = 0x400,
32-
ISO14A_USE_ECP = 0x800,
33-
ISO14A_USE_MAGSAFE = 0x1000,
3432
ISO14A_CLEARTRACE = 0x20000,
3533
}
3634

include/mifare.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ typedef enum ISO14A_COMMAND {
102102
ISO14A_TOPAZMODE = (1 << 8),
103103
ISO14A_NO_RATS = (1 << 9),
104104
ISO14A_SEND_CHAINING = (1 << 10),
105-
ISO14A_USE_ECP = (1 << 11),
106-
ISO14A_USE_MAGSAFE = (1 << 12),
105+
// 11, 12 were used for ECP & MAGSAFE, but they were generalized into CUSTOM_POLLING
106+
// In case there is a need to add a new flag, feel free to use those indices
107107
ISO14A_USE_CUSTOM_POLLING = (1 << 13),
108108
ISO14A_CRYPTO1MODE = (1 << 14),
109109
ISO14A_SET_WAIT_US = (1 << 15),

0 commit comments

Comments
 (0)