A3XX: MCDU Bugfix
This commit is contained in:
parent
954d19feb6
commit
9692d46077
2 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,7 @@ var MCDU_reset = func {
|
||||||
var lskbutton = func(btn) {
|
var lskbutton = func(btn) {
|
||||||
if (btn == "1") {
|
if (btn == "1") {
|
||||||
if (getprop("/MCDU[0]/page") == "MCDU" and getprop("/MCDU[0]/active") != 2) {
|
if (getprop("/MCDU[0]/page") == "MCDU" and getprop("/MCDU[0]/active") != 2) {
|
||||||
|
setprop("/MCDU[0]/scratchpad-msg", "1");
|
||||||
setprop("/MCDU[0]/scratchpad", "WAIT FOR SYSTEM RESPONSE");
|
setprop("/MCDU[0]/scratchpad", "WAIT FOR SYSTEM RESPONSE");
|
||||||
setprop("/MCDU[0]/active", 1);
|
setprop("/MCDU[0]/active", 1);
|
||||||
settimer(func(){
|
settimer(func(){
|
||||||
|
|
|
@ -76,6 +76,7 @@ var MCDU_reset = func {
|
||||||
var lskbutton = func(btn) {
|
var lskbutton = func(btn) {
|
||||||
if (btn == "1") {
|
if (btn == "1") {
|
||||||
if (getprop("/MCDU[1]/page") == "MCDU" and getprop("/MCDU[1]/active") != 2) {
|
if (getprop("/MCDU[1]/page") == "MCDU" and getprop("/MCDU[1]/active") != 2) {
|
||||||
|
setprop("/MCDU[1]/scratchpad-msg", "1");
|
||||||
setprop("/MCDU[1]/scratchpad", "WAIT FOR SYSTEM RESPONSE");
|
setprop("/MCDU[1]/scratchpad", "WAIT FOR SYSTEM RESPONSE");
|
||||||
setprop("/MCDU[1]/active", 1);
|
setprop("/MCDU[1]/active", 1);
|
||||||
settimer(func(){
|
settimer(func(){
|
||||||
|
|
Reference in a new issue