1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-23 05:40:57 +00:00

fix(core): fix prodtest for 32 bit color models

[no changelog]
This commit is contained in:
tychovrahe 2024-11-18 17:26:33 +01:00 committed by TychoVrahe
parent 0f0f54f185
commit 9befee12c3

View File

@ -246,7 +246,7 @@ static void test_display(const char *colors) {
size_t w = DISPLAY_RESX / l;
for (size_t i = 0; i < l; i++) {
uint16_t c = COLOR_BLACK; // black
gfx_color_t c = COLOR_BLACK; // black
switch (colors[i]) {
case 'R':
c = gfx_color_rgb(255, 0, 0);