Bugfix startup from cold and dark
This commit is contained in:
parent
4a8dd54f9e
commit
622e1ac4ae
2 changed files with 6 additions and 2 deletions
|
@ -1614,7 +1614,11 @@ var messages_priority_2 = func {
|
|||
}
|
||||
|
||||
# SAT ABOVE FLEX TEMP
|
||||
_SATval = dmc.DMController.DMCs[1].outputs[4].getValue();
|
||||
if (dmc.DMController.DMCs[1] != nil and dmc.DMController.DMCs[1].outputs[4] != nil) {
|
||||
_SATval = dmc.DMController.DMCs[1].outputs[4].getValue() or nil;
|
||||
} else {
|
||||
_SATval = nil;
|
||||
}
|
||||
if (satAbvFlexTemp.clearFlag == 0 and phaseVar2 == 2 and fadec.Thrust.limFlex.getValue() and _SATval != nil and _SATval > fmgc.FMGCNodes.flexTemp.getValue() and !warningNodes.Logic.thrLeversNotSet.getValue()) {
|
||||
satAbvFlexTemp.active = 1;
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
46
|
||||
47
|
Loading…
Add table
Reference in a new issue