Skip to content

Commit

Permalink
Update bbn_wave_freq_m5atomS3.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 19, 2024
1 parent b649681 commit 56aaeab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbn_wave_freq_m5atomS3/bbn_wave_freq_m5atomS3.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 56aaeab

Please sign in to comment.