fix overlay for ra8875

This commit is contained in:
Jorj Bauer 2022-02-02 10:24:34 -05:00
parent 0a47ec63f5
commit 1c09349746
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}