This commit is contained in:
Jonathan Redpath 2018-11-21 21:19:27 +00:00
commit 18980f8419
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