Permalink
Browse files

Bug fix for glcdWriteCharGr

  • Loading branch information...
1 parent 6ccf27c commit 199a10499e89198091e9c8a693e502026c4d773a @CaitSith2 CaitSith2 committed Aug 6, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 firmware/glcd.c
View
5 firmware/glcd.c
@@ -329,7 +329,10 @@ void glcdWriteCharGr(u08 grCharIdx)
{
// add this graphic's length to the startIdx
// to get the startIdx of the next one
- grStartIdx += pgm_read_byte(FontGr+grStartIdx);
+ // 2010-03-03 BUG Dataman/CRJONES There's a bug here: Have to add 1 for the byte-cout.
+ // grStartIdx += pgm_read_byte(FontGr+grStartIdx);
+ grStartIdx += pgm_read_byte(FontGr+grStartIdx)+1;
+
}
grLength = pgm_read_byte(FontGr+grStartIdx);

0 comments on commit 199a104

Please sign in to comment.