1
0
Fork 0

Failures now can call SD pages - test case: APU fire warning

This commit is contained in:
legoboyvdlp R 2019-11-19 18:18:44 +00:00
parent dcb8010172
commit dd0c186e2f
2 changed files with 3 additions and 2 deletions

View file

@ -81,7 +81,7 @@ var warning = {
},
callPage: func() {
if (me.sdPage == "nil" or me.hasCalled == 1) { return; }
#libraries.LowerECAM.failCall(me.sdPage);
libraries.SystemDisplay.failCall(me.sdPage);
me.hasCalled = 1;
}
};

View file

@ -205,8 +205,9 @@ var SystemDisplay = {
me.manShownPage = 0;
ECAMControlPanel.lightOff(me.page);
}
me.failShownPage = 1;
ECAMControlPanel.lightOn(page);
me.page = page;
me.failShownPage = 1;
},
manCall: func(page) {
ECAMControlPanel.lightOff(me.page);