From d0d1e245902fa88ef5d092e68b7e62d9d7b297b3 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Sat, 3 Jan 2015 14:36:38 +0100 Subject: [PATCH] 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 --- common/lfdemod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- 2.39.2