CLR button calls status page, then clears status page

This commit is contained in:
Jonathan Redpath 2019-01-14 15:41:03 +00:00
parent de4d370afe
commit 6b57a4bc38

View file

@ -289,18 +289,18 @@ var LowerECAM = {
setprop("/it-autoflight/output/athr-warning", 0);
setprop("/ECAM/Lower/light/clr", 0);
setprop("/ECAM/warnings/master-caution-light", 0);
#call status
LowerECAM.failCall("sts");
return;
}
if (b == "clr" and getprop("/it-autoflight/output/ap-warning") == 2) {
setprop("/it-autoflight/output/ap-warning", 0);
setprop("/ECAM/Lower/light/clr", 0);
setprop("/ECAM/warnings/master-warning-light", 0);
#call status
LowerECAM.failCall("sts");
return;
}
if (getprop("/ECAM/Lower/fault-select") == 0) {
if (b != "clr") {
if (!man_sel) {