mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-12 07:32:48 +00:00
fix(core/prodtest): fix text rendering
This commit is contained in:
parent
bb5972b7e2
commit
148c11d9e5
@ -176,7 +176,7 @@ void gfx_draw_bitmap(gfx_rect_t rect, const gfx_bitmap_t* bitmap) {
|
||||
|
||||
#if TREZOR_FONT_BPP == 1
|
||||
#define GLYPH_FORMAT GFX_FORMAT_MONO1P
|
||||
#define GLYPH_STRIDE(w) (((w) + 7) / 8)
|
||||
#define GLYPH_STRIDE(w) (w)
|
||||
#elif TREZOR_FONT_BPP == 2
|
||||
#error Unsupported TREZOR_FONT_BPP value
|
||||
#define GLYPH_FORMAT GFX_FORMAT_MONO2
|
||||
|
Loading…
Reference in New Issue
Block a user