mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-04 05:42:34 +00:00
fixup! feat(core): introduce new drawing library
This commit is contained in:
parent
a4fd40fb1d
commit
7101fcf7b0
@ -53,7 +53,7 @@ static uint64_t term_glyph_bits(char ch) {
|
|||||||
uint8_t bytes[8];
|
uint8_t bytes[8];
|
||||||
} result = {0};
|
} result = {0};
|
||||||
|
|
||||||
if (ch > ' ' && ch < 128) {
|
if (ch > 32 && (uint8_t)ch < 128) {
|
||||||
const uint8_t *b = &Font_Bitmap[(ch - ' ') * 5];
|
const uint8_t *b = &Font_Bitmap[(ch - ' ') * 5];
|
||||||
|
|
||||||
for (int y = 0; y < 7; y++) {
|
for (int y = 0; y < 7; y++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user