A3XX: Fix MCDU2 Scratchpad
This commit is contained in:
parent
6f4be5ac51
commit
36b83e8663
2 changed files with 7 additions and 8 deletions
|
@ -23,7 +23,7 @@
|
|||
<format type="string">%s</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>/MCDU[0]/scratchpad</property>
|
||||
<property>/MCDU[1]/scratchpad</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
# A320Family ADIRS system
|
||||
# Jonathan Redpath
|
||||
# Minor Modifications by Joshua Davidson
|
||||
|
||||
# A3XX ADIRS system
|
||||
# Jonathan Redpath and Joshua Davidson
|
||||
|
||||
#####################
|
||||
# Initializing Vars #
|
||||
#####################
|
||||
|
||||
# Initializing these vars here to prevent nasal nil used in numeric context, since the electrical system doesn't until fdm init is done. -JD
|
||||
setprop("/systems/electrical/bus/dc1", 0);
|
||||
setprop("/systems/electrical/bus/dc2", 0);
|
||||
|
@ -42,9 +41,9 @@ var ADIRSreset = func {
|
|||
setprop("/controls/adirs/ir[0]/align",0);
|
||||
setprop("/controls/adirs/ir[1]/align",0);
|
||||
setprop("/controls/adirs/ir[2]/align",0);
|
||||
setprop("/controls/adirs/ir[0]/knob","0");
|
||||
setprop("/controls/adirs/ir[1]/knob","0");
|
||||
setprop("/controls/adirs/ir[2]/knob","0");
|
||||
setprop("/controls/adirs/ir[0]/knob", 0);
|
||||
setprop("/controls/adirs/ir[1]/knob", 0);
|
||||
setprop("/controls/adirs/ir[2]/knob", 0);
|
||||
setprop("/controls/adirs/ir[0]/fault",0);
|
||||
setprop("/controls/adirs/ir[1]/fault",0);
|
||||
setprop("/controls/adirs/ir[2]/fault",0);
|
||||
|
|
Reference in a new issue