diff --git a/A320-main.xml b/A320-main.xml index 666e4916..32884265 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -599,6 +599,8 @@ 1 1 1 + 1 + 1 0 0 diff --git a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas index f9dc911d..c8cc4833 100644 --- a/Models/Instruments/Lower-ECAM/Lower-ECAM.nas +++ b/Models/Instruments/Lower-ECAM/Lower-ECAM.nas @@ -110,7 +110,7 @@ var canvas_lowerECAM_base = { setprop("/instrumentation/du/du4-test", 0); } - if (getprop("/systems/electrical/bus/ac2") >= 110 and getprop("/controls/lighting/DU/du4") > 0) { + if (getprop("/systems/electrical/bus/ac2") >= 110 and getprop("/controls/lighting/DU/du4") > 0.01) { if (getprop("/instrumentation/du/du4-test-time") + getprop("/instrumentation/du/du4-test-amount") >= elapsedtime) { lowerECAM_apu.page.hide(); lowerECAM_bleed.page.hide(); diff --git a/Models/Instruments/PFD/PFD.nas b/Models/Instruments/PFD/PFD.nas index 300cf3c1..b61ada7f 100644 --- a/Models/Instruments/PFD/PFD.nas +++ b/Models/Instruments/PFD/PFD.nas @@ -246,7 +246,7 @@ var canvas_PFD_base = { if (acconfig_mismatch.getValue() == "0x000") { PFD_1_mismatch.page.hide(); PFD_2_mismatch.page.hide(); - if (acess.getValue() >= 110 and du1_lgt.getValue() > 0) { + if (acess.getValue() >= 110 and du1_lgt.getValue() > 0.01) { if (du1_test_time.getValue() + du1_test_amount.getValue() >= elapsedtime_act and cpt_du_xfr.getValue() != 1) { PFD_1_test.update(); updateL = 0; @@ -269,7 +269,7 @@ var canvas_PFD_base = { PFD_1_test.page.hide(); PFD_1.page.hide(); } - if (ac2.getValue() >= 110 and du6_lgt.getValue() > 0) { + if (ac2.getValue() >= 110 and du6_lgt.getValue() > 0.01) { if (du6_test_time.getValue() + du6_test_amount.getValue() >= elapsedtime_act and fo_du_xfr.getValue() != 1) { PFD_2_test.update(); updateR = 0; diff --git a/Models/Instruments/Upper-ECAM/Upper-ECAM.nas b/Models/Instruments/Upper-ECAM/Upper-ECAM.nas index 557b275e..3af40c9e 100644 --- a/Models/Instruments/Upper-ECAM/Upper-ECAM.nas +++ b/Models/Instruments/Upper-ECAM/Upper-ECAM.nas @@ -138,7 +138,7 @@ var canvas_upperECAM_base = { } cur_eng_option = eng_option.getValue(); - if (acess.getValue() >= 110 and du3_lgt.getValue() > 0) { + if (acess.getValue() >= 110 and du3_lgt.getValue() > 0.01) { if (du3_test_time.getValue() + du3_test_amount.getValue() >= elapsedtime) { upperECAM_cfm_eis2.page.hide(); upperECAM_iae_eis2.page.hide(); diff --git a/Nasal/MCDU1/MCDU.nas b/Nasal/MCDU1/MCDU.nas index 9091098f..d5e06011 100644 --- a/Nasal/MCDU1/MCDU.nas +++ b/Nasal/MCDU1/MCDU.nas @@ -5,7 +5,6 @@ ############################################## var MCDU_init = func { - setprop("/MCDU[0]/brightness", "1.0"); MCDU_reset(); # Reset MCDU, clears data } diff --git a/Nasal/MCDU2/MCDU.nas b/Nasal/MCDU2/MCDU.nas index 12640f77..c8f7b4d5 100644 --- a/Nasal/MCDU2/MCDU.nas +++ b/Nasal/MCDU2/MCDU.nas @@ -5,7 +5,6 @@ ############################################## var MCDU_init = func { - setprop("/MCDU[1]/brightness", "1.0"); MCDU_reset(); # Reset MCDU, clears data } diff --git a/Nasal/buttons.nas b/Nasal/buttons.nas index 525f2ffd..072407e2 100644 --- a/Nasal/buttons.nas +++ b/Nasal/buttons.nas @@ -48,6 +48,8 @@ var variousReset = func { setprop("/controls/lighting/DU/du4", 1); setprop("/controls/lighting/DU/du5", 1); setprop("/controls/lighting/DU/du6", 1); + setprop("/controls/lighting/DU/mcdu1", 1); + setprop("/controls/lighting/DU/mcdu2", 1); setprop("/modes/fcu/hdg-time", 0); setprop("/controls/switching/ATTHDG", 0); setprop("/controls/switching/AIRDATA", 0); diff --git a/revision.txt b/revision.txt index 421c7926..f392d694 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4691 \ No newline at end of file +4692 \ No newline at end of file