Minor memory optimizations and stencil production file

This commit is contained in:
2023-07-31 21:32:32 +03:00
parent dc5e7acb8c
commit 72093d7d20
9 changed files with 24 additions and 2711 deletions

View File

@ -1,7 +1,8 @@
void updateScreen() {
display.clearDisplay();
lastInteractionTime = millis(); //not sure if it's a right place for this, but should do for now
//lastInteractionTime = millis(); //not sure if it's a right place for this, but should do for now
//Tabs
display.drawRect(0, 48, 128, 1, SSD1306_WHITE);
@ -81,9 +82,7 @@ void updateScreen() {
}
} else { //CHANNELS
if (true) { //placeholder for channel modes with different amount of submenu items
lastMenuItem = 3;
}
lastMenuItem = 3;
if (menuItem == 0 && insideTab) {
display.setTextColor(SSD1306_BLACK);
} else {