From 0f58dadb8e3b5bb611cd54672221be5367c6840b Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Mon, 14 Jan 2019 15:49:31 +0000 Subject: [PATCH] TO MEMO --- Nasal/ECAM.nas | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Nasal/ECAM.nas b/Nasal/ECAM.nas index 56e9c449..1a835983 100644 --- a/Nasal/ECAM.nas +++ b/Nasal/ECAM.nas @@ -175,7 +175,7 @@ var ECAM = { 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); + # Do nothing } else { setprop("/ECAM/to-config", 0); } @@ -275,7 +275,12 @@ var ECAM = { setprop("/ECAM/to-memo-enable", 1); setprop("/ECAM/engine-start-time", getprop("/ECAM/engine-start-time") - 120); } - }, + + 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 + and getprop("/controls/flight/flap-pos") < 5) { + setprop("/ECAM/to-config", 1); + } + }, }; ECAM.MSGclr();