mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-25 03:34:51 +00:00
fix text drawing
This commit is contained in:
parent
31e380526c
commit
16d84320ba
@ -41,7 +41,7 @@ void PhysicalDisplay::drawCharacter(uint8_t mode, uint16_t x, uint16_t y, char c
|
|||||||
if (*ch & (1 << (x_off))) {
|
if (*ch & (1 << (x_off))) {
|
||||||
drawPixel(x+x_off, y+y_off, onPixel);
|
drawPixel(x+x_off, y+y_off, onPixel);
|
||||||
} else {
|
} else {
|
||||||
drawPixel(x+x_off, y+y_off, onPixel);
|
drawPixel(x+x_off, y+y_off, offPixel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ch++;
|
ch++;
|
||||||
|
Loading…
Reference in New Issue
Block a user