From b5b12ba50cad905a53456b772a09fcb02efcd494 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Thu, 26 Sep 2024 16:25:17 +0200 Subject: [PATCH] fix(core): fix st7789-v driver issue data when using 16 bit bus [no changelog] --- core/embed/trezorhal/stm32f4/xdisplay/st-7789/display_io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/trezorhal/stm32f4/xdisplay/st-7789/display_io.h b/core/embed/trezorhal/stm32f4/xdisplay/st-7789/display_io.h index 75be10ef22..0113ba1e61 100644 --- a/core/embed/trezorhal/stm32f4/xdisplay/st-7789/display_io.h +++ b/core/embed/trezorhal/stm32f4/xdisplay/st-7789/display_io.h @@ -57,7 +57,7 @@ extern __IO DISP_MEM_TYPE *const DISPLAY_DATA_ADDRESS; #define ISSUE_DATA_BYTE(X) (*(DISPLAY_DATA_ADDRESS) = (X)) #ifdef USE_DISP_I8080_16BIT_DW -#define ISSUE_PIXEL_DATA(X) DATA(X) +#define ISSUE_PIXEL_DATA(X) ISSUE_DATA_BYTE(X) #elif USE_DISP_I8080_8BIT_DW #define ISSUE_PIXEL_DATA(X) \ ISSUE_DATA_BYTE((X) & 0xFF); \