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:
parent
b89d8813b1
commit
a4cff482b4
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user