lcd: simplify line printing

This commit is contained in:
Vasily Davydov
2022-10-27 10:18:55 +03:00
parent 9492081fbb
commit 50b77d39f8
4 changed files with 33 additions and 7 deletions

View File

@@ -59,10 +59,8 @@ StateHandler::displaySet (size_t mode)
}
_lcd->clear ();
_lcd->setCursor (0, 0);
_lcd->print (line_up);
_lcd->setCursor (0, 1);
_lcd->print (line_down);
_lcd->printOnLineOne (line_up);
_lcd->printOnLineTwo (line_down);
}
unsigned int