A3XX: Fix multiple bugs in FMGC
This commit is contained in:
parent
39a8ef2c65
commit
9b5735e8a6
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ var phasecheck = maketimer(0.2, func {
|
||||||
var alt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
var alt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
||||||
var aglalt = getprop("/position/gear-agl-ft");
|
var aglalt = getprop("/position/gear-agl-ft");
|
||||||
var cruiseft = getprop("/FMGC/internal/cruise-ft");
|
var cruiseft = getprop("/FMGC/internal/cruise-ft");
|
||||||
var cruiseft_b = getprop("/FMGC/internal/cruise-ft") - 50;
|
var cruiseft_b = getprop("/FMGC/internal/cruise-ft") - 200;
|
||||||
var newcruise = getprop("/it-autoflight/internal/alt");
|
var newcruise = getprop("/it-autoflight/internal/alt");
|
||||||
var phase = getprop("/FMGC/status/phase");
|
var phase = getprop("/FMGC/status/phase");
|
||||||
var state1 = getprop("/systems/thrust/state1");
|
var state1 = getprop("/systems/thrust/state1");
|
||||||
|
@ -155,7 +155,7 @@ var phasecheck = maketimer(0.2, func {
|
||||||
setprop("/FMGC/status/phase", "7");
|
setprop("/FMGC/status/phase", "7");
|
||||||
var fd1 = getprop("/it-autoflight/input/fd1");
|
var fd1 = getprop("/it-autoflight/input/fd1");
|
||||||
var fd2 = getprop("/it-autoflight/input/fd2");
|
var fd2 = getprop("/it-autoflight/input/fd2");
|
||||||
ap_init();
|
APinit();
|
||||||
FMGCinit();
|
FMGCinit();
|
||||||
mcdu1.MCDU_reset();
|
mcdu1.MCDU_reset();
|
||||||
mcdu2.MCDU_reset();
|
mcdu2.MCDU_reset();
|
||||||
|
|
Reference in a new issue