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

chore(style): apply flake8 findings on site_scons python files

[no changelog]
This commit is contained in:
grdddj 2023-07-17 16:10:03 +02:00 committed by Jiří Musil
parent 7df3219a7a
commit 44ff6d42b3
2 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ def configure(
defines += [f"HW_REVISION={hw_revision}"]
sources += [f"embed/trezorhal/stm32f4/displays/{display}"]
sources += [f"embed/trezorhal/stm32f4/i2c.c"]
sources += ["embed/trezorhal/stm32f4/i2c.c"]
if "input" in features_wanted:
sources += ["embed/trezorhal/stm32f4/button.c"]

View File

@ -35,18 +35,18 @@ def configure(
defines += [f"HW_MODEL={hw_model}"]
defines += [f"HW_REVISION={hw_revision}"]
sources += [f"embed/trezorhal/stm32f4/displays/{display}"]
sources += [f"embed/trezorhal/stm32f4/backlight_pwm.c"]
sources += ["embed/trezorhal/stm32f4/backlight_pwm.c"]
sources += [
f"embed/trezorhal/stm32f4/displays/panels/tf15411a.c",
"embed/trezorhal/stm32f4/displays/panels/tf15411a.c",
]
sources += [
f"embed/trezorhal/stm32f4/displays/panels/154a.c",
"embed/trezorhal/stm32f4/displays/panels/154a.c",
]
sources += [
f"embed/trezorhal/stm32f4/displays/panels/lx154a2411.c",
"embed/trezorhal/stm32f4/displays/panels/lx154a2411.c",
]
sources += [
f"embed/trezorhal/stm32f4/displays/panels/lx154a2422.c",
"embed/trezorhal/stm32f4/displays/panels/lx154a2422.c",
]
features_available.append("backlight")