mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
added a compact tlv decoder for ATR historical bytes in 14a info
This commit is contained in:
parent
1f470483ec
commit
7310834b69
3 changed files with 90 additions and 15 deletions
|
@ -158,11 +158,11 @@ extern bool g_tearoff_enabled;
|
|||
|
||||
// Nibble logic
|
||||
#ifndef NIBBLE_HIGH
|
||||
# define NIBBLE_HIGH(b) ( (b & 0xF0) >> 4 )
|
||||
# define NIBBLE_HIGH(b) ( ((b) & 0xF0) >> 4 )
|
||||
#endif
|
||||
|
||||
#ifndef NIBBLE_LOW
|
||||
# define NIBBLE_LOW(b) ( b & 0x0F )
|
||||
# define NIBBLE_LOW(b) ((b) & 0x0F )
|
||||
#endif
|
||||
|
||||
#ifndef CRUMB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue