Fix issue with maxspeed tape on PFD, #102

This commit is contained in:
Joshua Davidson 2017-11-28 13:10:24 -05:00
parent 04de02dfbd
commit d3c280fcf2
2 changed files with 2 additions and 2 deletions

View file

@ -272,7 +272,7 @@ var masterFMGC = maketimer(0.2, func {
flap = getprop("/controls/flight/flap-pos");
mmoIAS = (getprop("/instrumentation/airspeed-indicator/indicated-speed-kt") / getprop("/instrumentation/airspeed-indicator/indicated-mach")) * 0.82;
if (flap == 0) { # 0
if (mmoIAS > 350) {
if (mmoIAS < 350) {
setprop("/FMGC/internal/maxspeed", mmoIAS);
} else {
setprop("/FMGC/internal/maxspeed", 350);

View file

@ -1 +1 @@
4040
4041