]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Set lower threshold for lf iodemod, it had too high threshold for filtering out noise...
authorMartin Holst Swende <martin@swende.se>
Sat, 3 Jan 2015 13:36:38 +0000 (14:36 +0100)
committerMartin Holst Swende <martin@swende.se>
Sat, 3 Jan 2015 13:36:38 +0000 (14:36 +0100)
common/lfdemod.c

index f88db18b248bd7a6c6ac00939d36371c1488af5d..79c99f7333827988c3922c14d11f1a2220d30b4b 100644 (file)
@@ -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?
Impressum, Datenschutz