]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/iso14443a.c
Added iClass eavesdrop support for Proxmark3
[proxmark3-svn] / armsrc / iso14443a.c
index 81e204727b0199309541fea8b9ea091e1c53b59b..1c5e9265d3224df0ca088e7c04f3a6eca889a71f 100644 (file)
@@ -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);
 
Impressum, Datenschutz