From dd0c186e2f550e1f41ce2734d115b85bcff2958b Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Tue, 19 Nov 2019 18:18:44 +0000 Subject: [PATCH] Failures now can call SD pages - test case: APU fire warning --- Nasal/ECAM/ECAM-controller.nas | 2 +- Nasal/ECAM/ECAM-main.nas | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Nasal/ECAM/ECAM-controller.nas b/Nasal/ECAM/ECAM-controller.nas index a87c9779..11079f37 100644 --- a/Nasal/ECAM/ECAM-controller.nas +++ b/Nasal/ECAM/ECAM-controller.nas @@ -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; } }; diff --git a/Nasal/ECAM/ECAM-main.nas b/Nasal/ECAM/ECAM-main.nas index 1e3ebd99..61334c2f 100644 --- a/Nasal/ECAM/ECAM-main.nas +++ b/Nasal/ECAM/ECAM-main.nas @@ -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);