DU: Fix oil 2 PSI indication not displaying correct data
This commit is contained in:
parent
5348c7f4ca
commit
1e38f24926
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ var canvas_lowerECAMPageEng =
|
||||||
me["OilQT2-XX"].hide();
|
me["OilQT2-XX"].hide();
|
||||||
me["OilQT2"].show();
|
me["OilQT2"].show();
|
||||||
|
|
||||||
me["OilPSI2"].setText(sprintf("%s", math.clamp(math.round(me.pressure[0], 2), 0, 998)));
|
me["OilPSI2"].setText(sprintf("%s", math.clamp(math.round(me.pressure[1], 2), 0, 998)));
|
||||||
if (me.pressure[1] >= 13) {
|
if (me.pressure[1] >= 13) {
|
||||||
me["OilPSI2"].setColor(0.0509,0.7529,0.2941);
|
me["OilPSI2"].setColor(0.0509,0.7529,0.2941);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue