]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Bitsync fix 2. Gerhard
authordekoninggans@gmail.com <dekoninggans@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 4 Feb 2011 19:43:48 +0000 (19:43 +0000)
committerdekoninggans@gmail.com <dekoninggans@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 4 Feb 2011 19:43:48 +0000 (19:43 +0000)
armsrc/iso14443a.c

index 81e204727b0199309541fea8b9ea091e1c53b59b..8c3293a64efa2fc513d9cbd2a5ac683a06c189d5 100644 (file)
@@ -450,7 +450,7 @@ static RAMFUNC int ManchesterDecoding(int v)
                        Demod.syncBit = 0x02;
                }
 
                        Demod.syncBit = 0x02;
                }
 
-               if(bit & 0x01) {
+               if(bit & 0x01 && Demod.syncBit) {
                        Demod.syncBit = 0x01;
                }
                
                        Demod.syncBit = 0x01;
                }
                
Impressum, Datenschutz