SD ELEC: bugfix

This commit is contained in:
legoboyvdlp R 2019-05-14 12:33:51 +01:00
parent d30cb90a60
commit 07216d3e44
2 changed files with 2 additions and 2 deletions

View file

@ -1268,7 +1268,7 @@ var canvas_lowerECAM_elec = {
# TODO add correct A
if (dc1.getValue() < 25) {
me["ESSTR-group"].show();
me["ESSTR-Volt"].setText(sprintf("%s", math.round(dc_essgetValue())));
me["ESSTR-Volt"].setText(sprintf("%s", math.round(dc_ess.getValue())));
if (dc_ess.getValue() < 25 or dc_ess.getValue() > 31) {
me["ESSTR-Volt"].setColor(0.7333,0.3803,0);

View file

@ -1 +1 @@
4790
4791