mirror of
https://github.com/JorjBauer/aiie.git
synced 2025-04-18 20:37:18 +00:00
fix overlay for ra8875
This commit is contained in:
parent
0a47ec63f5
commit
1c09349746
@ -213,8 +213,7 @@ void TeensyDisplay::blit()
|
||||
if (millis() >= nextMessageTime) {
|
||||
if (overlayMessage[0]) {
|
||||
if (use8875) {
|
||||
/// FIXME This position needs updating for each display differently
|
||||
// drawString(M_SELECTDISABLED, 1, (RA8875_HEIGHT - 18)/2, overlayMessage); // FIXME this /2 is clunky b/c drawString winds up doubling
|
||||
drawString(M_SELECTDISABLED, 1, RA8875_HEIGHT-18, overlayMessage);
|
||||
} else {
|
||||
drawString(M_SELECTDISABLED, 1, ILI9341_HEIGHT - (16+12), overlayMessage);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user