mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
CHG: lowered the number of bytes collected for T55xxReadBlock. Was 12000 -> 7679
CHG: added some documentation about what arguments does. CHG: 'data tune' - added flush after printf.
This commit is contained in:
parent
aed36ae5bd
commit
81b7e89434
6 changed files with 23 additions and 8 deletions
|
@ -602,10 +602,11 @@ int HIDdemodFSK(uint8_t *dest, size_t *size, uint32_t *hi2, uint32_t *hi, uint32
|
|||
*hi2 = (*hi2<<1)|(*hi>>31);
|
||||
*hi = (*hi<<1)|(*lo>>31);
|
||||
//Then, shift in a 0 or one into low
|
||||
*lo <<= 1;
|
||||
if (dest[idx] && !dest[idx+1]) // 1 0
|
||||
*lo=(*lo<<1)|1;
|
||||
*lo |= 1;
|
||||
else // 0 1
|
||||
*lo=(*lo<<1)|0;
|
||||
*lo |= 0;
|
||||
}
|
||||
return (int)startIdx;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue