Skip to content

Commit

Permalink
misc formatting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutherland333 committed Jul 10, 2024
1 parent 4485f7c commit 1b25527
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sensors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ got_flags Sensors::run()
if (rf_.board_.baro_has_new_data()) {
got.baro = true;
rf_.board_.baro_read(&data_.baro_pressure, &data_.baro_temperature);
correct_baro();
}
correct_baro();
}
}

// MAGNETOMETER:
if (rf_.board_.mag_present()) {
Expand All @@ -196,9 +196,9 @@ got_flags Sensors::run()
if (rf_.board_.diff_pressure_has_new_data()) {
got.diff_pressure = true;
rf_.board_.diff_pressure_read(&data_.diff_pressure, &data_.diff_pressure_temp);
correct_diff_pressure();
}
correct_diff_pressure();
}
}

// SONAR:
if (rf_.board_.sonar_present()) {
Expand Down

0 comments on commit 1b25527

Please sign in to comment.