FlightTaskManualAltitude: rename method from updateZsetpoints to updateAltitudeLock

This commit is contained in:
Dennis Mannhart
2018-04-05 07:30:12 +02:00
committed by Beat Küng
parent 1810ae8226
commit efc2721add
3 changed files with 7 additions and 8 deletions
@@ -62,8 +62,8 @@ void FlightTaskManualAltitudeSmooth::_updateSetpoints()
float vel_sp[2] = {_vel_sp_z, _vel_sp_prev_z};
_smoothing.smoothVelFromSticks(vel_sp, _deltatime);
/* Update position setpoint in z direction based on lock criteria*/
_updateZsetpoints();
/* Check for altitude lock*/
_updateAltitudeLock();
/* Update previous velocity setpoint for next smoothing iteration */
_vel_sp_prev_z = _vel_sp_z;