From 580bdfbc59908008162de4f755f80f1810d09022 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Wed, 11 Sep 2024 20:44:43 -0400 Subject: [PATCH] Update bbn_wave_freq_m5atomS3.ino --- bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino b/bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino index 9c6d978..197a467 100644 --- a/bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino +++ b/bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino @@ -204,7 +204,7 @@ void repeatMe() { } double freq_adj = kalman_smoother_update(&kalman_freq, freq); - if (freq_adj > 0.001 && freq_adj < 10.0) { + if (freq_adj > 0.01 && freq_adj < 10.0) { float period = 1.0 / freq_adj; if (period < 30.0) { uint32_t windowMicros = 3 * period * 1000000;