bug fixes
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user