mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
commander: fix accel sensor present flag
This must have been a copy paste mistake.
This commit is contained in:
parent
617fdd875e
commit
42d6298dbf
@ -62,7 +62,7 @@ void AccelerometerChecks::checkAndReport(const Context &context, Report &reporte
|
||||
is_calibration_valid = (calibration::FindCurrentCalibrationIndex("ACC", accel_data.device_id) >= 0);
|
||||
}
|
||||
|
||||
reporter.setIsPresent(health_component_t::gyro);
|
||||
reporter.setIsPresent(health_component_t::accel);
|
||||
}
|
||||
|
||||
const bool is_sensor_ok = is_valid && is_calibration_valid;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user