1
0
Fork 0

Bugfix startup from cold and dark

This commit is contained in:
legoboyvdlp R 2021-02-05 11:17:35 +00:00
parent 4a8dd54f9e
commit 622e1ac4ae
2 changed files with 6 additions and 2 deletions

View file

@ -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;

View file

@ -1 +1 @@
46
47