]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/lfdemod.c
ADD; added some more descriptions of what the legic prng imp does.
[proxmark3-svn] / common / lfdemod.c
index f231cd69fd54e787506cea2cee9f4d022cf87e0a..ff80b8b341e538a17780756541268f497dce106e 100644 (file)
@@ -84,7 +84,9 @@ size_t removeParity(uint8_t *BitStream, size_t startIdx, uint8_t pLen, uint8_t p
                        case 3: if (BitStream[j]==1) return 0; break; //should be 0 spacer bit
                        case 2: if (BitStream[j]==0) return 0; break; //should be 1 spacer bit
                        default: //test parity
-                               if (parityTest(parityWd, pLen, pType) == 0) return 0; break;
+                               if (parityTest(parityWd, pLen, pType) == 0) 
+                                       return 0; 
+                               break;
                }
                bitCnt+=(pLen-1);
                parityWd = 0;
Impressum, Datenschutz