From: Martin Holst Swende Date: Sat, 3 Jan 2015 13:36:38 +0000 (+0100) Subject: Set lower threshold for lf iodemod, it had too high threshold for filtering out noise... X-Git-Tag: v2.0.0-rc1~70 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/d0d1e245902fa88ef5d092e68b7e62d9d7b297b3 Set lower threshold for lf iodemod, it had too high threshold for filtering out noise. Now it works better at least with my antenna/setup --- diff --git a/common/lfdemod.c b/common/lfdemod.c index f88db18b..79c99f73 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -602,7 +602,7 @@ int IOdemodFSK(uint8_t *dest, size_t size) } idx=0; //if not just noise - if (testMax>170){ + if (testMax>20){ // FSK demodulator size = fskdemod(dest, size,64,1,10,8); // RF/64 and invert if (size < 65) return -1; //did we get a good demod?