mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge pull request #1744 from mywalkb/fix_clang
Fix undefined symbol when build with clang
This commit is contained in:
commit
fe45cdd605
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ static bool TexcomTK15Decode(uint32_t *implengths, uint32_t implengthslen, char
|
||||||
return ((strlen(cbitstring) == 64) && (strncmp(cbitstring, "1111111111111111", 16) == 0));
|
return ((strlen(cbitstring) == 64) && (strncmp(cbitstring, "1111111111111111", 16) == 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int TexcomTK17Get2Bits(uint32_t len1, uint32_t len2) {
|
static inline int TexcomTK17Get2Bits(uint32_t len1, uint32_t len2) {
|
||||||
uint32_t xlen = (len2 * 100) / (len1 + len2);
|
uint32_t xlen = (len2 * 100) / (len1 + len2);
|
||||||
if (xlen < 10 || xlen > 90)
|
if (xlen < 10 || xlen > 90)
|
||||||
return TK17WrongBit;
|
return TK17WrongBit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue