From e4912b18137ab455acc2b702476fa8b04e8c0bc2 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 13 Mar 2019 12:38:07 +0100 Subject: [PATCH] CHG: adapt noice threshold, my hitag has an amplitude of 11... --- common/lfdemod.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lfdemod.h b/common/lfdemod.h index 883393cc3..96a91363f 100644 --- a/common/lfdemod.h +++ b/common/lfdemod.h @@ -22,7 +22,7 @@ #include "util.h" // for ARRAYLEN //might not be high enough for noisy environments -#define NOISE_AMPLITUDE_THRESHOLD 10 +#define NOISE_AMPLITUDE_THRESHOLD 15 //ignore buffer with less than x samples #define SIGNAL_MIN_SAMPLES 100 //ignore first x samples of the buffer