]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/iclass.c
syntax sugar
[proxmark3-svn] / armsrc / iclass.c
index 8019479e55a6b5d802289c7caeea66f190ca70e6..01693dcad4c0d6979068a1347c039f17885b43ca 100644 (file)
@@ -425,6 +425,7 @@ static RAMFUNC int ManchesterDecoding(int v)
                                if(!(Demod.buffer2 & Demod.syncBit) || !(Demod.buffer3 & Demod.syncBit)) {
                                        Demod.state = DEMOD_UNSYNCD;
                                        error = 0x88;
                                if(!(Demod.buffer2 & Demod.syncBit) || !(Demod.buffer3 & Demod.syncBit)) {
                                        Demod.state = DEMOD_UNSYNCD;
                                        error = 0x88;
+                                       return FALSE;
                                }
                                
                                // TODO: use this error value to print?  Ask Holiman.
                                }
                                
                                // TODO: use this error value to print?  Ask Holiman.
Impressum, Datenschutz