1
0
Fork 0

DU: Fix oil 2 PSI indication not displaying correct data

This commit is contained in:
Josh Davidson 2022-06-26 19:48:55 -04:00 committed by Jonathan Redpath
parent 5348c7f4ca
commit 1e38f24926

View file

@ -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 {