A32X: Fix GPWS inhibit not working #122

This commit is contained in:
Joshua Davidson 2018-01-01 10:11:46 -05:00
parent 22c06a1f82
commit 4e09221285
2 changed files with 7 additions and 1 deletions

View file

@ -226,6 +226,12 @@ var systemsLoop = maketimer(0.1, func {
} else {
setprop("/instrumentation/mk-viii/inputs/discretes/momentary-flap-override", 0);
}
if (getprop("/instrumentation/mk-viii/inputs/discretes/gpws-inhibit") == 1) {
setprop("/instrumentation/mk-viii/speaker/volume", 0);
} else {
setprop("/instrumentation/mk-viii/speaker/volume", 2);
}
});
setlistener("/options/steep-ils", func {

View file

@ -1 +1 @@
4215
4216