mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 11:33:51 +08:00
style
This commit is contained in:
parent
101611b301
commit
2fa31d33fc
1 changed files with 8 additions and 1 deletions
|
@ -1915,7 +1915,14 @@ int pskRawDemod_ext(uint8_t *dest, size_t *size, int *clock, int *invert, int *s
|
|||
waveLenCnt = waveEnd - waveStart;
|
||||
if (waveLenCnt > fc) {
|
||||
//this wave is a phase shift
|
||||
//prnt("DEBUG: phase shift at: %d, len: %d, nextClk: %d, i: %d, fc: %d",waveStart,waveLenCnt,lastClkBit+*clock-tol,i+1,fc);
|
||||
/*
|
||||
prnt("DEBUG: phase shift at: %d, len: %d, nextClk: %d, i: %d, fc: %d"
|
||||
, waveStart
|
||||
, waveLenCnt
|
||||
, lastClkBit + *clock - tol
|
||||
, i + 1
|
||||
, fc);
|
||||
*/
|
||||
if (i + 1 >= lastClkBit + *clock - tol) { //should be a clock bit
|
||||
curPhase ^= 1;
|
||||
dest[numBits++] = curPhase;
|
||||
|
|
Loading…
Add table
Reference in a new issue