issue #474, fixed string draw
This commit is contained in:
parent
35803d7f5d
commit
b2d84613a8
|
@ -378,7 +378,7 @@ static uint8_t u8x8_draw_1x2_string(u8x8_t *u8x8, uint8_t x, uint8_t y, const ch
|
|||
if ( e != 0x0fffe )
|
||||
{
|
||||
u8x8_Draw1x2Glyph(u8x8, x, y, e);
|
||||
x+=2;
|
||||
x++;
|
||||
cnt++;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,8 @@ int main(void)
|
|||
|
||||
u8x8_DrawString(&u8x8, 0, 0, "Hello World!");
|
||||
|
||||
u8x8_Draw1x2String(&u8x8, 0, 1, "Hello World!");
|
||||
|
||||
u8x8_Draw2x2String(&u8x8, 0, 3, "Hello World!");
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue