mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-21 06:35:04 +08:00
askdemod_ext: update startIdx in case of weak demodulation too
This commit is contained in:
parent
9962b8769a
commit
3eea2e20bb
1 changed files with 1 additions and 0 deletions
|
@ -1663,6 +1663,7 @@ int askdemod_ext(uint8_t *bits, size_t *size, int *clk, int *invert, int maxErr,
|
|||
return errCnt;
|
||||
}
|
||||
|
||||
*startIdx = start - (*clk / 2);
|
||||
if (g_debugMode == 2) prnt("DEBUG: (askdemod_ext) Weak wave detected: startIdx %i", *startIdx);
|
||||
|
||||
int lastBit; //set first clock check - can go negative
|
||||
|
|
Loading…
Reference in a new issue