Merge branch 'master' into ECAM
This commit is contained in:
commit
b33cc6af0f
2 changed files with 8 additions and 1 deletions
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4703
|
4704
|
Reference in a new issue