Fix that cost index 0 would prevent managed speed
This commit is contained in:
parent
c175461ea4
commit
067a87f1e8
1 changed files with 1 additions and 1 deletions
|
@ -898,7 +898,7 @@ var reset_FMGC = func {
|
||||||
#################
|
#################
|
||||||
|
|
||||||
var ManagedSPD = maketimer(0.25, func {
|
var ManagedSPD = maketimer(0.25, func {
|
||||||
if (FMGCInternal.crzSet and FMGCInternal.costIndex) {
|
if (FMGCInternal.crzSet and FMGCInternal.costIndexSet) {
|
||||||
if (getprop("/it-autoflight/input/spd-managed") == 1) {
|
if (getprop("/it-autoflight/input/spd-managed") == 1) {
|
||||||
altitude = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
altitude = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
||||||
mode = getprop("/modes/pfd/fma/pitch-mode");
|
mode = getprop("/modes/pfd/fma/pitch-mode");
|
||||||
|
|
Loading…
Reference in a new issue