A3XX: Fix error in brakes.nas

This commit is contained in:
Joshua Davidson 2017-11-18 13:31:40 -05:00
parent 09e2235837
commit 5476f52540
2 changed files with 2 additions and 3 deletions

View file

@ -25,8 +25,7 @@ var autobrake_init = func {
# Override FG's generic brake, so we can use toe brakes to disconnect autobrake
controls.applyBrakes = func(v, which = 0) {
if (getprop("/systems/acconfig/autoconfig-running") != 1) {
wow1 = getprop("/gear/gear[1]/wow");
wow2 = getprop("/gear/gear[2]/wow");
wow0 = getprop("/gear/gear[0]/wow");
if (getprop("/controls/autobrake/mode") != 0 and wow0 == 1 and getprop("/controls/autobrake/active") == 1) {
arm_autobrake(0);
}

View file

@ -1 +1 @@
4013
4014