1
0
Fork 0

Also fix typo

This commit is contained in:
legoboyvdlp R 2019-11-30 16:33:16 +00:00
parent cd0613a728
commit 6cd703e182

View file

@ -545,7 +545,7 @@ var canvas_lowerECAM_base = {
},
updateBottomStatus: func() {
if (dmc.DMController.DMCs[1].outputs[4] != nil) {
me["SAT"].setText(sprintf("%2.0f", dmc.DMController.DMCs[0].outputs[4].getValue()));
me["SAT"].setText(sprintf("%2.0f", dmc.DMController.DMCs[1].outputs[4].getValue()));
me["SAT"].setColor(0.0509,0.7529,0.2941);
} else {
me["SAT"].setText(sprintf("%s", "XX"));
@ -553,7 +553,7 @@ var canvas_lowerECAM_base = {
}
if (dmc.DMController.DMCs[1].outputs[5] != nil) {
me["TAT"].setText(sprintf("%2.0f", dmc.DMController.DMCs[0].outputs[5].getValue()));
me["TAT"].setText(sprintf("%2.0f", dmc.DMController.DMCs[1].outputs[5].getValue()));
me["TAT"].setColor(0.0509,0.7529,0.2941);
} else {
me["TAT"].setText(sprintf("%s", "XX"));