1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

fix(core): fix st7789-v driver issue data when using 16 bit bus

[no changelog]
This commit is contained in:
tychovrahe 2024-09-26 16:25:17 +02:00 committed by cepetr
parent af4d792212
commit b5b12ba50c

View File

@ -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); \