1
0
Fork 0

Merge branch 'dev' into tcas

This commit is contained in:
Inuyaksa 2021-02-06 01:06:46 +01:00
commit f7cb3b062e
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