WIP - attempt to hotfix build on apple

DO NOT MERGE
obrusvit/ui-t3t1-reset-device-apple-hotfix
obrusvit 2 weeks ago
parent 6f2d471860
commit e8720fb813

@ -53,7 +53,7 @@ static uint64_t term_glyph_bits(char ch) {
uint8_t bytes[8];
} result = {0};
if (ch > ' ' && ch < 128) {
/* if (ch > ' ' && ch < 128) { */
const uint8_t *b = &Font_Bitmap[(ch - ' ') * 5];
for (int y = 0; y < 7; y++) {
@ -62,7 +62,7 @@ static uint64_t term_glyph_bits(char ch) {
((b[2] & mask) ? 32 : 0) + ((b[3] & mask) ? 16 : 0) +
((b[4] & mask) ? 8 : 0);
}
}
/* } */
return result.u64;
}

Loading…
Cancel
Save