fix showCurrentValue
This commit is contained in:
parent
241ac1ad92
commit
7a7d618263
1 changed files with 1 additions and 1 deletions
2
main.ino
2
main.ino
|
@ -148,7 +148,7 @@ class showCurrentValue : public Element {
|
|||
tft.setTextSize(5);
|
||||
tft.setTextColor(PRIMARY_FOREGROUND_COLOUR);
|
||||
tft.setCursor(this->X + 1, this->Y + 1);
|
||||
tft.print(this->data.getMaxDataPoint(), 1);
|
||||
tft.print(this->data.getDataByIndex(0), 1);
|
||||
tft.print(this->data.getUnit());
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue