mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-02 19:01:04 +00:00
fix(core): fix prodtest for 32 bit color models
[no changelog]
This commit is contained in:
parent
0f0f54f185
commit
9befee12c3
@ -246,7 +246,7 @@ static void test_display(const char *colors) {
|
|||||||
size_t w = DISPLAY_RESX / l;
|
size_t w = DISPLAY_RESX / l;
|
||||||
|
|
||||||
for (size_t i = 0; i < l; i++) {
|
for (size_t i = 0; i < l; i++) {
|
||||||
uint16_t c = COLOR_BLACK; // black
|
gfx_color_t c = COLOR_BLACK; // black
|
||||||
switch (colors[i]) {
|
switch (colors[i]) {
|
||||||
case 'R':
|
case 'R':
|
||||||
c = gfx_color_rgb(255, 0, 0);
|
c = gfx_color_rgb(255, 0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user