1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

fix(core): use DISPLAY_RGB565 macro consistently

[no changelog]
This commit is contained in:
tychovrahe 2024-05-19 15:27:07 +02:00 committed by TychoVrahe
parent 9166dc330e
commit ffe1ac7d7e
4 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,7 @@ def configure(
if "new_rendering" in features_wanted:
defines += ["XFRAMEBUFFER"]
defines += ["DISPLAY_RGB565"]
features_available.append("xframebuffer")
features_available.append("display_rgb565")

View File

@ -19,6 +19,7 @@ def configure(
features_available.append("disp_i8080_8bit_dw")
if "new_rendering" in features_wanted:
defines += ["DISPLAY_RGB565"]
features_available.append("display_rgb565")
mcu = "STM32F427xx"

View File

@ -23,6 +23,7 @@ def configure(
if "new_rendering" in features_wanted:
features_available.append("xframebuffer")
features_available.append("display_rgb565")
defines += ["DISPLAY_RGB565"]
defines += ["XFRAMEBUFFER"]
mcu = "STM32U585xx"

View File

@ -23,6 +23,7 @@ def configure(
if "new_rendering" in features_wanted:
features_available.append("xframebuffer")
features_available.append("display_rgb565")
defines += ["DISPLAY_RGB565"]
defines += ["XFRAMEBUFFER"]
mcu = "STM32U585xx"