DU: Fix missing DU Quality code in LECAM

This commit is contained in:
Joshua Davidson 2018-11-20 15:26:53 -05:00
parent 99c29809c5
commit fc6b745385
2 changed files with 8 additions and 1 deletions

View file

@ -3114,8 +3114,15 @@ setlistener("sim/signals/fdm-initialized", func {
lowerECAM_test = canvas_lowerECAM_test.new(group_test, "Aircraft/IDG-A32X/Models/Instruments/Common/res/du-test.svg"); lowerECAM_test = canvas_lowerECAM_test.new(group_test, "Aircraft/IDG-A32X/Models/Instruments/Common/res/du-test.svg");
lowerECAM_update.start(); lowerECAM_update.start();
if (getprop("/systems/acconfig/options/lecam-rate") > 1) {
l_rateApply();
}
}); });
var l_rateApply = func {
lowerECAM_update.restart(0.05 * getprop("/systems/acconfig/options/lecam-rate"));
}
var lowerECAM_update = maketimer(0.05, func { var lowerECAM_update = maketimer(0.05, func {
canvas_lowerECAM_base.update(); canvas_lowerECAM_base.update();
}); });

View file

@ -1 +1 @@
4703 4704