remove unnessary code in FBW

This commit is contained in:
Joshua Davidson 2017-04-17 19:49:10 -04:00
parent 1044240550
commit a2f606fe8a

View file

@ -29,10 +29,6 @@ var roll_input = func {
setprop("/it-fbw/roll-lim-max", "33");
setprop("/it-fbw/roll-lim-min", "-33");
}
if (getprop("/gear/gear[0]/wow") == 1) {
setprop("/it-fbw/roll-deg", "0");
}
}
#########################
@ -58,12 +54,6 @@ var pitch_input = func {
setprop("/it-fbw/pitch-lim-max", "15");
setprop("/it-fbw/pitch-lim-min", "-15");
}
if (getprop("/gear/gear[0]/wow") == 1) {
if (elev > -0.05 and elev < 0.05) {
setprop("/it-fbw/pitch-deg", getprop("/orientation/pitch-deg"));
}
}
}
###########################