restore one of the LGCIU console thingies

This commit is contained in:
Jonathan Redpath 2016-12-12 10:26:48 +00:00
parent 2d5e9b4f3f
commit 3edf4c2c69

View file

@ -23,6 +23,7 @@ var lgciu_one_init = func {
setprop("/controls/lgciu[0]/nws/nwsenabled",0); #0 = disabled 1 = enabled, must be disabled for push
setprop("/controls/lgciu[0]/inuse",1); #the LGCIUs switch between eachother on each gear cycle. eg if one LGCIU fails put the gear down and bring them up again to reset
setprop("/controls/lgciu[0]/hasbeenret",0); #has the gear been retracted with LGCIU1?
print("LGCIU 1 Initialized");
}
var lgciu_two_init = func {
@ -46,6 +47,7 @@ var lgciu_two_init = func {
setprop("/controls/lgciu[1]/nws/nwsenabled",0); #0 = disabled 1 = enabled, must be disabled for push
setprop("/controls/lgciu[1]/inuse",0); #the LGCIUs switch between eachother on each gear cycle. eg if one LGCIU fails put the gear down and bring them up again to reset
setprop("/controls/lgciu[1]/hasbeenret",0); #has the gear been retracted with LGCIU2?
print("LGCIU 1 Initialized");
}