mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-29 16:49:26 +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;
|
static uint32_t nextMessageTime = 0;
|
||||||
if (millis() >= nextMessageTime) {
|
if (millis() >= nextMessageTime) {
|
||||||
if (overlayMessage[0]) {
|
if (overlayMessage[0]) {
|
||||||
drawString(M_SELECTDISABLED, 1, RA8875_HEIGHT - (16 + 12)*2, overlayMessage);
|
drawString(M_SELECTDISABLED, 1, (RA8875_HEIGHT - 18)/2, overlayMessage); // FIXME this /2 is clunky b/c drawString winds up doubling
|
||||||
Serial.println(overlayMessage);
|
|
||||||
}
|
}
|
||||||
nextMessageTime = millis() + 1000;
|
nextMessageTime = millis() + 1000;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user