fix
This commit is contained in:
parent
32fbc2f194
commit
c0b2ef5e8c
1 changed files with 1 additions and 1 deletions
2
glcd.c
2
glcd.c
|
@ -372,7 +372,7 @@ uint16_t lcdDrawChar(uint16_t cx, uint16_t cy, char c, font_t font, uint16_t col
|
|||
|
||||
/* WARNING: No boundary checks! Unpredictable behaviour if text exceeds boundary */
|
||||
void lcdDrawString(uint16_t x, uint16_t y, const char *str, font_t font, uint16_t color, uint16_t bkcolor, bool_t tpText) {
|
||||
uint16_t cx=x, cy=y;
|
||||
uint16_t cx = x, cy = y;
|
||||
|
||||
while (*str) {
|
||||
cx += lcdDrawChar(cx, cy, *str++, font, color, bkcolor, tpText);
|
||||
|
|
Loading…
Add table
Reference in a new issue