techo: initial support of new companion ui

This commit is contained in:
Florent 2025-08-08 15:34:58 +02:00
parent 4b95c981bb
commit 1e711f57f4
4 changed files with 7 additions and 3 deletions

View file

@ -68,10 +68,10 @@ void GxEPDDisplay::setTextSize(int sz) {
}
void GxEPDDisplay::setColor(Color c) {
if (c == DARK) {
display.setTextColor(_curr_color = GxEPD_BLACK);
} else {
if (c == DARK) { // invert colors for epds
display.setTextColor(_curr_color = GxEPD_WHITE);
} else {
display.setTextColor(_curr_color = GxEPD_BLACK);
}
}