diff --git a/core/src/trezor/ui/__init__.py b/core/src/trezor/ui/__init__.py index bd37a5de3..4abd77019 100644 --- a/core/src/trezor/ui/__init__.py +++ b/core/src/trezor/ui/__init__.py @@ -99,6 +99,7 @@ def backlight_fade(val: int, delay: int = 14000, step: int = 15) -> None: for i in range(current, val, step): display.backlight(i) utime.sleep_us(delay) + display.backlight(val) def header( diff --git a/core/src/trezor/ui/layouts/tt_v2/__init__.py b/core/src/trezor/ui/layouts/tt_v2/__init__.py index 887e972ba..a1ddb8a8a 100644 --- a/core/src/trezor/ui/layouts/tt_v2/__init__.py +++ b/core/src/trezor/ui/layouts/tt_v2/__init__.py @@ -136,7 +136,7 @@ class RustLayout(ui.Layout): def _first_paint(self) -> None: # Clear the screen of any leftovers. - ui.backlight_fade(ui.style.BACKLIGHT_DIM) + ui.backlight_fade(ui.style.BACKLIGHT_NONE) ui.display.clear() self._paint() diff --git a/core/src/trezor/ui/style.py b/core/src/trezor/ui/style.py index 531375905..1727492af 100644 --- a/core/src/trezor/ui/style.py +++ b/core/src/trezor/ui/style.py @@ -6,7 +6,7 @@ from trezor.ui import rgb BACKLIGHT_NORMAL = const(150) BACKLIGHT_LOW = const(45) BACKLIGHT_DIM = const(5) -BACKLIGHT_NONE = const(2) +BACKLIGHT_NONE = const(0) BACKLIGHT_MAX = const(255) # color palette