Copilot: handle cabin light.

parent 6b093f74
......@@ -278,7 +278,6 @@ var _loop = func {
do(func {
Tu144.GearCmd(-1);
Tu144.Frontlight(0);
Tu144.IntlightsDefault();
});
}
}, 5.0);
......@@ -291,11 +290,12 @@ var _loop = func {
gear_callout = "gear_ext";
}else{
if(gearpos < 0.001){
# settimer(func{
# do(func{
settimer(func{
do(func{
# Tu144.GearCmd(0);
# });
# }, 1.0);
Tu144.IntlightsDefault();
});
}, 1.0);
gear_callout = "gear_in";
};
if(gearpos > 0.999){
......@@ -528,6 +528,7 @@ var _loop = func {
if(!frontlight){
do(func{
Tu144.Frontlight(-1);
Tu144.IntlightsTOL();
});
}else if(marker){
do(func{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment