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