Fix issue with maxspeed tape on PFD, #102
This commit is contained in:
parent
04de02dfbd
commit
d3c280fcf2
2 changed files with 2 additions and 2 deletions
|
@ -272,7 +272,7 @@ var masterFMGC = maketimer(0.2, func {
|
||||||
flap = getprop("/controls/flight/flap-pos");
|
flap = getprop("/controls/flight/flap-pos");
|
||||||
mmoIAS = (getprop("/instrumentation/airspeed-indicator/indicated-speed-kt") / getprop("/instrumentation/airspeed-indicator/indicated-mach")) * 0.82;
|
mmoIAS = (getprop("/instrumentation/airspeed-indicator/indicated-speed-kt") / getprop("/instrumentation/airspeed-indicator/indicated-mach")) * 0.82;
|
||||||
if (flap == 0) { # 0
|
if (flap == 0) { # 0
|
||||||
if (mmoIAS > 350) {
|
if (mmoIAS < 350) {
|
||||||
setprop("/FMGC/internal/maxspeed", mmoIAS);
|
setprop("/FMGC/internal/maxspeed", mmoIAS);
|
||||||
} else {
|
} else {
|
||||||
setprop("/FMGC/internal/maxspeed", 350);
|
setprop("/FMGC/internal/maxspeed", 350);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4040
|
4041
|
Reference in a new issue