Skip to content

Commit 42d6298

Browse files
julianoesbkueng
authored andcommitted
commander: fix accel sensor present flag
This must have been a copy paste mistake.
1 parent 617fdd8 commit 42d6298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/commander/HealthAndArmingChecks/checks/accelerometerCheck.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void AccelerometerChecks::checkAndReport(const Context &context, Report &reporte
6262
is_calibration_valid = (calibration::FindCurrentCalibrationIndex("ACC", accel_data.device_id) >= 0);
6363
}
6464

65-
reporter.setIsPresent(health_component_t::gyro);
65+
reporter.setIsPresent(health_component_t::accel);
6666
}
6767

6868
const bool is_sensor_ok = is_valid && is_calibration_valid;

0 commit comments

Comments
 (0)