]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/lfdemod.c
CHG: increased the preamble
[proxmark3-svn] / common / lfdemod.c
index 047c9e2893edbbdccb770f32f53a7a16965cecd5..24336160634104ae793420234fadbdb05754787b 100644 (file)
@@ -770,7 +770,7 @@ 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};
+       uint8_t preamble[] = {1,1,1,1,1,1,1,1,1,0,0,0,1};
        uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);
        if (errChk == 0) return -4; //preamble not found
        //return start position
Impressum, Datenschutz