added a compact tlv decoder for ATR historical bytes in 14a info
This commit is contained in:
1 parent
1f470483ec
commit
7310834b69
3 files changed
+90
-15
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user