exp5438: do not use char as array index

ico
Simon Duquennoy 2015-10-20 09:42:03 +02:00
parent 1957ecd94a
commit 45af3adab4
1 changed files with 1 additions and 1 deletions

View File

@ -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++)
{