exp5438: do not use char as array index
This commit is contained in:
parent
1957ecd94a
commit
45af3adab4
1 changed files with 1 additions and 1 deletions
|
@ -792,7 +792,7 @@ void halLcdPrint(char String[], unsigned char TextStyle)
|
|||
|
||||
while (String[i] != 0) // Stop on null character
|
||||
{
|
||||
LookUpChar = fonts_lookup[String[i]];
|
||||
LookUpChar = fonts_lookup[(unsigned char)String[i]];
|
||||
|
||||
for (j = 0; j < FONT_HEIGHT; j++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue