mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 22:55:37 -07:00
cppchecker fix
This commit is contained in:
parent
6737f6f3cd
commit
90fb78ff1b
1 changed files with 3 additions and 3 deletions
|
@ -91,12 +91,12 @@ uint8_t pi[35] = {
|
||||||
* @param n bitnumber
|
* @param n bitnumber
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
#define getSixBitByte(c, n) ((uint8_t)(((c) >> (42 - 6 * (n))) & 0x3F))
|
//#define getSixBitByte(c, n) ((uint8_t)(((c) >> (42 - 6 * (n))) & 0x3F))
|
||||||
/*
|
|
||||||
static inline uint8_t getSixBitByte(uint64_t c, int n) {
|
static inline uint8_t getSixBitByte(uint64_t c, int n) {
|
||||||
return (c >> (42 - 6 * n)) & 0x3F;
|
return (c >> (42 - 6 * n)) & 0x3F;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
/**
|
/**
|
||||||
* @brief Puts back a six-bit 'byte' into a uint64_t.
|
* @brief Puts back a six-bit 'byte' into a uint64_t.
|
||||||
* @param c buffer
|
* @param c buffer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue