AC_AttitudeControl: rename pid setters to include set_ in the names

This commit is contained in:
Peter Barker 2024-07-30 21:37:50 +10:00 committed by Andrew Tridgell
parent 85bb4ad88f
commit fae3b39b15
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ void AC_PosControl::update_z_controller()
// ensure imax is always large enough to overpower hover throttle
if (_motors.get_throttle_hover() * 1000.0f > _pid_accel_z.imax()) {
_pid_accel_z.imax(_motors.get_throttle_hover() * 1000.0f);
_pid_accel_z.set_imax(_motors.get_throttle_hover() * 1000.0f);
}
float thr_out;
if (_vibe_comp_enabled) {