A3XX: Quick FMGC bugfix

This commit is contained in:
Joshua Davidson 2018-01-20 16:21:13 -05:00
parent 205eb4feb6
commit aa786b5604
2 changed files with 3 additions and 3 deletions

View file

@ -672,8 +672,8 @@ var fpa_calc = func {
} }
setlistener("/it-autoflight/input/kts-mach", func { setlistener("/it-autoflight/input/kts-mach", func {
var ias = getprop("/instrumentation/airspeed-indicator/indicated-speed-kt"); var ias = getprop("/it-autoflight/input/spd-kts");
var mach = getprop("/instrumentation/airspeed-indicator/indicated-mach"); var mach = getprop("/it-autoflight/input/spd-mach");
if (getprop("/it-autoflight/input/kts-mach") == 0) { if (getprop("/it-autoflight/input/kts-mach") == 0) {
if (ias >= 100 and ias <= 350) { if (ias >= 100 and ias <= 350) {
setprop("/it-autoflight/input/spd-kts", math.round(ias, 1)); setprop("/it-autoflight/input/spd-kts", math.round(ias, 1));

View file

@ -1 +1 @@
4310 4311