mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-25 10:22:55 +00:00
add support for new companion ui on thinknode m1
This commit is contained in:
1 parent
4b95c981bb
commit
8d7a49867f
5 files changed
+8
-3
No files matched your search
@@ -68,10 +68,11 @@ void GxEPDDisplay::setTextSize(int sz) {
|
||||
}
|
||||
|
||||
void GxEPDDisplay::setColor(Color c) {
|
||||
// colours need to be inverted for epaper displays
|
||||
if (c == DARK) {
|
||||
display.setTextColor(_curr_color = GxEPD_BLACK);
|
||||
} else {
|
||||
display.setTextColor(_curr_color = GxEPD_WHITE);
|
||||
} else {
|
||||
display.setTextColor(_curr_color = GxEPD_BLACK);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user