Merge branch 'master' of https://github.com/it0uchpods/IDG-A32X into ECAM

This commit is contained in:
Jonathan Redpath 2018-11-19 15:45:19 +00:00
commit c84cd2780b
2 changed files with 3 additions and 2 deletions

View file

@ -423,6 +423,7 @@ var takeoff = func {
libraries.flaptimer.start();
setprop("/controls/flight/elevator-trim", -0.07);
systems.arm_autobrake(3);
libraries.ECAM.toConfig();
}
});
}

View file

@ -171,7 +171,7 @@ var ECAM = {
setprop("/ECAM/right-msg", "NONE");
}
if (getprop("/controls/autobrake/mode") == 3 and getprop("/controls/switches/no-smoking-sign") == 1 and getprop("/controls/switches/seatbelt-sign") == 1 and getprop("/controls/flight/speedbrake-arm") == 1 and getprop("/controls/flight/flap-pos") > 0
if (getprop("/controls/autobrake/mode") == 3 and getprop("/controls/lighting/no-smoking-sign") == 1 and getprop("/controls/lighting/seatbelt-sign") == 1 and getprop("/controls/flight/speedbrake-arm") == 1 and getprop("/controls/flight/flap-pos") > 0
and getprop("/controls/flight/flap-pos") < 5) {
setprop("/ECAM/to-config", 1);
} else {
@ -256,7 +256,7 @@ var ECAM = {
setprop("/ECAM/to-memo-enable", 1);
setprop("/ECAM/engine-start-time", getprop("/ECAM/engine-start-time") - 120);
}
},
},
};
ECAM.MSGclr();