1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

REVONANO fix altitudeHoldTask initialisation

This commit is contained in:
abeck70 2015-05-24 20:38:07 +10:00
parent b89d8813b1
commit a4cff482b4

View File

@ -85,6 +85,7 @@ float stabilizationAltitudeHold(float setpoint, ThrustModeType mode, bool reinit
controlDown.Activate();
newaltitude = true;
// calculate a thrustDemand on reinit only
thrustMode = mode;
altitudeHoldTask();
}