X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2f2d9fc5ac94856e4eb62403968748de8f4d9a04..cee5a30d53c7aff4c4830eae53eaf58414ecf806:/armsrc/iso14443a.c diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index 81e20472..1c5e9265 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -450,7 +450,7 @@ static RAMFUNC int ManchesterDecoding(int v) Demod.syncBit = 0x02; } - if(bit & 0x01) { + if(bit & 0x01 && Demod.syncBit) { Demod.syncBit = 0x01; } @@ -644,7 +644,7 @@ void RAMFUNC SnoopIso14443a(void) // Count of samples received so far, so that we can include timing // information in the trace buffer. int samples = 0; - int rsamples = 0; + int rsamples = 0; memset(trace, 0x44, RECV_CMD_OFFSET);