mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-29 01:49:19 +00:00
fix debug message placement
This commit is contained in:
parent
ee89426d6e
commit
44be04ff97
@ -125,8 +125,7 @@ void TeensyDisplay::blit()
|
||||
static uint32_t nextMessageTime = 0;
|
||||
if (millis() >= nextMessageTime) {
|
||||
if (overlayMessage[0]) {
|
||||
drawString(M_SELECTDISABLED, 1, RA8875_HEIGHT - (16 + 12)*2, overlayMessage);
|
||||
Serial.println(overlayMessage);
|
||||
drawString(M_SELECTDISABLED, 1, (RA8875_HEIGHT - 18)/2, overlayMessage); // FIXME this /2 is clunky b/c drawString winds up doubling
|
||||
}
|
||||
nextMessageTime = millis() + 1000;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user