]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/lfdemod.c
CHG: wrong minor version value. 0x1 -> 0x0 for desfire ev1 detection
[proxmark3-svn] / common / lfdemod.c
index 047c9e2893edbbdccb770f32f53a7a16965cecd5..f797911c36f7121e20f92f4ff4ed1d483cd82895 100644 (file)
@@ -770,10 +770,10 @@ int NedapDemod(uint8_t *dest, size_t *size) {
        if (*size < 128) return -3;
 
        size_t startIdx = 0;
+       //uint8_t preamble[] = {1,1,1,1,1,1,1,1,1,0,0,0,1};
        uint8_t preamble[] = {1,1,1,1,1,1,1,1,1,0};
        uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);
        if (errChk == 0) return -4; //preamble not found
-       //return start position
        return (int) startIdx;
 }
 
Impressum, Datenschutz