FlightTaskManualAltitude: fix update

This commit is contained in:
Dennis Mannhart
2018-04-05 07:30:12 +02:00
committed by Beat Küng
parent 6a639373ae
commit 0ec312ef3d
@@ -56,7 +56,7 @@ bool FlightTaskManualAltitudeSmooth::activate()
void FlightTaskManualAltitudeSmooth::_updateSetpoints()
{
/* Get yaw, thrust */
FlightTaskManualStabilized::_updateSetpoints();
FlightTaskManualAltitude::_updateSetpoints();
/* Smooth velocity setpoint */
float vel_sp[2] = {_vel_sp_z, _vel_sp_prev_z};