X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/56bbb25a4114df189f66dc8c14d233187e40b042..d34a0b0cc7034ecca76a7331854db44f07a60da7:/common/lfdemod.c diff --git a/common/lfdemod.c b/common/lfdemod.c index 3bc246a3..047c9e28 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -768,6 +768,7 @@ int PyramiddemodFSK(uint8_t *dest, size_t *size) int NedapDemod(uint8_t *dest, size_t *size) { //make sure buffer has data if (*size < 128) return -3; + size_t startIdx = 0; uint8_t preamble[] = {1,1,1,1,1,1,1,1,1,0}; uint8_t errChk = preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx);