A3XX: Fix error in brakes.nas
This commit is contained in:
parent
09e2235837
commit
5476f52540
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
4013
|
||||
4014
|
Reference in a new issue