mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-29 07:32:18 +03:00
Исправляем ошибку чтения значения Item в Lcd2004
This commit is contained in:
@@ -42,11 +42,10 @@ class Lcd2004 : public IoTItem {
|
|||||||
void doByInterval() {
|
void doByInterval() {
|
||||||
if (LCDI2C != nullptr) {
|
if (LCDI2C != nullptr) {
|
||||||
printBlankStr(_prevStrSize);
|
printBlankStr(_prevStrSize);
|
||||||
|
|
||||||
String tmpStr;
|
String tmpStr = "";
|
||||||
// to do
|
if (_descr != "none") tmpStr = _descr + " " + getItemValue(_id2show);
|
||||||
// jsonRead(paramsHeapJson, _id2show, tmpStr);
|
else tmpStr = getItemValue(_id2show);
|
||||||
if (_descr != "none") tmpStr = _descr + " " + tmpStr;
|
|
||||||
LCDI2C->setCursor(_x, _y);
|
LCDI2C->setCursor(_x, _y);
|
||||||
LCDI2C->print(tmpStr);
|
LCDI2C->print(tmpStr);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user