Skip to content
Snippets Groups Projects
Commit 1ddcc7a3 authored by Dennis Mannhart's avatar Dennis Mannhart Committed by Beat Küng
Browse files

FlightTaskManaulAltitude: fix activation

parent 0ec312ef
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment