commander: fix accel sensor present flag

This must have been a copy paste mistake.
This commit is contained in:
Julian Oes 2025-03-13 07:55:06 +13:00 committed by Beat Küng
parent 617fdd875e
commit 42d6298dbf

View File

@ -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;