From 56aaeab8cd22d0e46f1fdb6c79cc9158a9360519 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Thu, 19 Sep 2024 02:17:18 -0400 Subject: [PATCH] Update bbn_wave_freq_m5atomS3.ino --- bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino b/bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino index 5e2c811..138cd09 100644 --- a/bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino +++ b/bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino @@ -89,7 +89,7 @@ KalmanWaveAltState waveAltState; const char* imu_name; int produce_serial_data = 1; -int report_nmea = 1; +int report_nmea = 0; float t = 0.0; float heave_avg = 0.0; @@ -157,7 +157,7 @@ void repeatMe() { got_samples++; - if ((accel.x * accel.x + accel.y * accel.y + accel.z * accel.z) < 250.0) { + if ((accel.x * accel.x + accel.y * accel.y + accel.z * accel.z) < 25.0) { // ignore noise with unreasonably high Gs now = micros();