made background of characters transparent

This commit is contained in:
Patrick Haßel 2025-01-23 22:35:49 +01:00
parent 4f9fe2a24d
commit bc29e0c6b7

View File

@ -161,8 +161,6 @@ public:
for (uint8_t x = 0; x < DISPLAY_CHAR_WIDTH; ++x) { for (uint8_t x = 0; x < DISPLAY_CHAR_WIDTH; ++x) {
if (*(symbolBit++)) { if (*(symbolBit++)) {
set(xPos + x, yPos + y, color); set(xPos + x, yPos + y, color);
} else {
set(xPos + x, yPos + y, BLACK);
} }
} }
} }
@ -182,8 +180,6 @@ public:
for (int x = 0; x < countof(sym[0]); ++x) { for (int x = 0; x < countof(sym[0]); ++x) {
if (sym[y][x]) { if (sym[y][x]) {
set(xPos + x, yPos + y, color); set(xPos + x, yPos + y, color);
} else {
set(xPos + x, yPos + y, BLACK);
} }
} }
} }