mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Some documentation and formatting to LogTraceHitag
This commit is contained in:
parent
aabb719dc4
commit
665775c844
2 changed files with 19 additions and 8 deletions
|
@ -35,7 +35,7 @@ void print_result(char *name, uint8_t *buf, size_t len) {
|
|||
}
|
||||
|
||||
size_t nbytes(size_t nbits) {
|
||||
return (nbits/8)+((nbits%8)>0);
|
||||
return (nbits >> 3)+((nbits % 8) > 0);
|
||||
}
|
||||
|
||||
uint32_t SwapBits(uint32_t value, int nrbits) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue