From 8cbaa984f210c3a82248be9d8f4071789ba7b76d Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Fri, 19 May 2017 15:20:54 -0400 Subject: [PATCH] tiny change --- Nasal/MCDU1.nas | 14 +++++++------- Nasal/MCDU2.nas | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Nasal/MCDU1.nas b/Nasal/MCDU1.nas index 6580a74a..04c938a2 100644 --- a/Nasal/MCDU1.nas +++ b/Nasal/MCDU1.nas @@ -29,15 +29,15 @@ var lskbutton = func(btn) { if (getprop("/MCDU[0]/page") == "INITA") { initInputA("L5"); } else if (getprop("/MCDU[0]/page") == "CLB") { - PerfCLBInput("L5"); + perfCLBInput("L5"); } } else if (btn == "6") { if (getprop("/MCDU[0]/page") == "INITA") { initInputA("L6"); } else if (getprop("/MCDU[0]/page") == "CLB") { - PerfCLBInput("L6"); + perfCLBInput("L6"); } else if (getprop("/MCDU[0]/page") == "CRZ") { - PerfCRZInput("L6"); + perfCRZInput("L6"); } } } @@ -90,7 +90,7 @@ var initInputA = func(key) { } } -var PerfCLBInput = func(key) { +var perfCLBInput = func(key) { var scratchpad = getprop("/MCDU[0]/scratchpad"); if (key == "L5") { if (scratchpad == "CLR") { @@ -125,7 +125,7 @@ var PerfTOInput = func(key) { } } -var PerfCRZInput = func(key) { +var perfCRZInput = func(key) { if (key == "L6") { setprop("/MCDU[0]/page", "CLB"); } @@ -139,9 +139,9 @@ var rskbutton = func(btn) { if (getprop("/MCDU[0]/page") == "TO") { PerfTOInput("R6"); } else if (getprop("/MCDU[0]/page") == "CLB") { - PerfCLBInput("R6"); + perfCLBInput("R6"); } # else if (getprop("/MCDU[0]/page") == "CRZ") { - # PerfCRZInput("R6"); + # perfCRZInput("R6"); #} } } diff --git a/Nasal/MCDU2.nas b/Nasal/MCDU2.nas index 73ce4ad4..88e4cc35 100644 --- a/Nasal/MCDU2.nas +++ b/Nasal/MCDU2.nas @@ -29,15 +29,15 @@ var lskbutton = func(btn) { if (getprop("/MCDU[1]/page") == "INITA") { initInputA("L5"); } else if (getprop("/MCDU[1]/page") == "CLB") { - PerfCLBInput("L5"); + perfCLBInput("L5"); } } else if (btn == "6") { if (getprop("/MCDU[1]/page") == "INITA") { initInputA("L6"); } else if (getprop("/MCDU[1]/page") == "CLB") { - PerfCLBInput("L6"); + perfCLBInput("L6"); } else if (getprop("/MCDU[1]/page") == "CRZ") { - PerfCRZInput("L6"); + perfCRZInput("L6"); } } } @@ -89,7 +89,7 @@ var initInputA = func(key) { } } -var PerfCLBInput = func(key) { +var perfCLBInput = func(key) { var scratchpad = getprop("/MCDU[1]/scratchpad"); if (key == "L5") { if (scratchpad == "CLR") { @@ -124,7 +124,7 @@ var PerfTOInput = func(key) { } } -var PerfCRZInput = func(key) { +var perfCRZInput = func(key) { if (key == "L6") { setprop("/MCDU[1]/page", "CLB"); } # else if (key == "R6") { @@ -137,9 +137,9 @@ var rskbutton = func(btn) { if (getprop("/MCDU[1]/page") == "TO") { PerfTOInput("R6"); } else if (getprop("/MCDU[1]/page") == "CLB") { - PerfCLBInput("R6"); + perfCLBInput("R6"); } # else if (getprop("/MCDU[1]/page") == "TO") { - # PerfCRZInput("R6"); + # perfCRZInput("R6"); # } } }