bug fixes

This commit is contained in:
2026-08-08 11:24:27 +02:00
parent 6ac93f0a5b
commit abf1226b47
7 changed files with 24 additions and 13 deletions
+3 -3
View File
@@ -157,10 +157,10 @@ void putchar(const char c, uint16_t x, uint16_t y, const draw::color_t color) {
x = x_orig;
for (uint8_t j = 0; j < FONT_WIDTH; j++) {
if (get_Nth_bit_in_grid(_5x7_dotmatrix_charset,
static_cast<typeof(character_bit_offset)>(
static_cast<std::remove_const_t<decltype(character_bit_offset)>>(
character_bit_offset + j),
static_cast<typeof(character_bit_offset)>(i),
static_cast<typeof(character_bit_offset)>(
static_cast<std::remove_const_t<decltype(character_bit_offset)>>(i),
static_cast<std::remove_const_t<decltype(character_bit_offset)>>(
_5X7_DOTMATRIX_CHARSET_WIDTH))) {
draw::pixel(x, y, color);
}