FlightTaskManaulAltitude: fix activation

This commit is contained in:
Dennis Mannhart
2018-04-05 07:30:12 +02:00
committed by Beat Küng
parent 0ec312ef3d
commit 1ddcc7a3ee
@@ -50,7 +50,7 @@ FlightTaskManualAltitudeSmooth::FlightTaskManualAltitudeSmooth(control::SuperBlo
bool FlightTaskManualAltitudeSmooth::activate()
{
_vel_sp_prev_z = _velocity(2);
return FlightTaskManualStabilized::activate();
return FlightTaskManualAltitude::activate();
}
void FlightTaskManualAltitudeSmooth::_updateSetpoints()