A32X: Electrical bugfix
This commit is contained in:
parent
3d3cb1a7b6
commit
476bae9fa6
2 changed files with 4 additions and 3 deletions
|
@ -169,8 +169,6 @@ var master_elec = func {
|
|||
extpwr_on = getprop("/controls/switches/cart");
|
||||
stateL = getprop("/engines/engine[0]/state");
|
||||
stateR = getprop("/engines/engine[1]/state");
|
||||
xtieL = getprop("/controls/electrical/xtie/xtieL");
|
||||
xtieR = getprop("/controls/electrical/xtie/xtieR");
|
||||
ac1 = getprop("/systems/electrical/bus/ac1");
|
||||
ac2 = getprop("/systems/electrical/bus/ac2");
|
||||
ac_ess = getprop("/systems/electrical/bus/ac-ess");
|
||||
|
@ -231,6 +229,9 @@ var master_elec = func {
|
|||
setprop("/controls/electrical/xtie/xtieL", 0);
|
||||
}
|
||||
|
||||
xtieL = getprop("/controls/electrical/xtie/xtieL");
|
||||
xtieR = getprop("/controls/electrical/xtie/xtieR");
|
||||
|
||||
# Left DC bus yes?
|
||||
if (stateL == 3 and gen1_sw and !gen1_fail) {
|
||||
setprop("/systems/electrical/bus/dc1", dc_volt_std);
|
||||
|
|
|
@ -1 +1 @@
|
|||
1538
|
||||
1539
|
Reference in a new issue