mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix REV macros & hitagS
This commit is contained in:
parent
bddd2a9fc1
commit
3c44ef39f7
2 changed files with 4 additions and 4 deletions
|
@ -55,15 +55,15 @@
|
|||
#endif
|
||||
|
||||
#ifndef REV16
|
||||
#define REV16(x) (REV8(x) + (REV8 (x >> 8) << 8))
|
||||
#define REV16(x) (REV8(x) + (REV8 ((x) >> 8) << 8))
|
||||
#endif
|
||||
|
||||
#ifndef REV32
|
||||
#define REV32(x) (REV16(x) + (REV16(x >> 16) << 16))
|
||||
#define REV32(x) (REV16(x) + (REV16((x) >> 16) << 16))
|
||||
#endif
|
||||
|
||||
#ifndef REV64
|
||||
#define REV64(x) (REV32(x) + (REV32(x >> 32) << 32))
|
||||
#define REV64(x) (REV32(x) + (REV32((x) >> 32) << 32))
|
||||
#endif
|
||||
|
||||
#ifndef BIT32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue