From 1e19a7216a9ed74ffe0f417ba39179d788a8d139 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 20 Sep 2020 12:59:30 +0200 Subject: [PATCH] Avoid first spurious samples in LF sniff modes, prevents false triggering --- armsrc/lfsampling.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/armsrc/lfsampling.c b/armsrc/lfsampling.c index 2455a851e..7b38bd346 100644 --- a/armsrc/lfsampling.c +++ b/armsrc/lfsampling.c @@ -243,8 +243,11 @@ void LFSetupFPGAForADC(int divisor, bool reader_field) { StartTicks(); // 50ms for the resonant antenna to settle. - if (reader_field) + if (reader_field) { WaitMS(50); + } else { + WaitMS(1); + } } /**