compiler error fix
This commit is contained in:
parent
54fa2e5617
commit
21cb0c7454
1 changed files with 1 additions and 1 deletions
2
glcd.c
2
glcd.c
|
@ -281,7 +281,7 @@ void lcdDrawRectString(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, const
|
|||
uint16_t off_left, off_up;
|
||||
|
||||
off_left = ((x1-x0)-lcdMeasureString(str, font))/2;
|
||||
off_up = ((y1-y0) - lcdGetCurFontHeight()) / 2;
|
||||
off_up = ((y1-y0) - lcdGetFontHeight(font)) / 2;
|
||||
|
||||
lcdDrawRect(x0, y0, x1, y1, 1, bkColor);
|
||||
/* Abhishek: default to solid text for this? */
|
||||
|
|
Loading…
Add table
Reference in a new issue