1
0
Fork 0

Fix FCU - altitude input should be between FL001 and FL490

This commit is contained in:
legoboyvdlp R 2020-11-21 20:54:28 +00:00
parent 1cca50498c
commit 33a4d70046

View file

@ -381,10 +381,10 @@ var FCUController = {
} else if (d == -10) {
altTemp = altTemp - 1000;
}
if (altTemp < 0) {
altSet.setValue(0);
} else if (altTemp > 50000) {
altSet.setValue(50000);
if (altTemp < 100) {
altSet.setValue(100);
} else if (altTemp > 49000) {
altSet.setValue(49000);
} else {
altSet.setValue(altTemp);
}