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:
parent
af4d792212
commit
b5b12ba50c
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user