X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c71f4da9bc3d8207e8308e3212345eb578e1a08f..04da5cd92bdf5cbdcec127961e2499121003655e:/common/lfdemod.c diff --git a/common/lfdemod.c b/common/lfdemod.c index 24336160..f797911c 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -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,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; }