mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
a couple em4x05 fixes.
This commit is contained in:
parent
59f726c989
commit
2d99d9912c
3 changed files with 21 additions and 18 deletions
|
@ -1375,10 +1375,10 @@ uint16_t countFC(uint8_t *BitStream, size_t size, uint8_t fskAdj)
|
|||
uint8_t fcLens[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
uint16_t fcCnts[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
uint8_t fcLensFnd = 0;
|
||||
uint8_t lastFCcnt=0;
|
||||
uint8_t lastFCcnt = 0;
|
||||
uint8_t fcCounter = 0;
|
||||
size_t i;
|
||||
if (size == 0) return 0;
|
||||
if (size < 180) return 0;
|
||||
|
||||
// prime i to first up transition
|
||||
for (i = 160; i < size-20; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue