mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
feat(core): remove mandatory startup wait for models other than T2T1 and T2B1
[no changelog]
This commit is contained in:
parent
4d46e28267
commit
1be6208a02
@ -20,7 +20,13 @@ from trezor.ui.layouts.homescreen import Lockscreen
|
|||||||
|
|
||||||
from apps.common.request_pin import can_lock_device, verify_user_pin
|
from apps.common.request_pin import can_lock_device, verify_user_pin
|
||||||
|
|
||||||
|
# have to use "==" over "in (list)" so that it can be statically replaced
|
||||||
|
# with the correct value during the build process
|
||||||
|
# pylint: disable-next=consider-using-in
|
||||||
|
if utils.INTERNAL_MODEL == "T2T1" or utils.INTERNAL_MODEL == "T2B1":
|
||||||
_WELCOME_SCREEN_MS = 1000 # how long do we want to show welcome screen (minimum)
|
_WELCOME_SCREEN_MS = 1000 # how long do we want to show welcome screen (minimum)
|
||||||
|
else:
|
||||||
|
_WELCOME_SCREEN_MS = 0
|
||||||
|
|
||||||
|
|
||||||
def enforce_welcome_screen_duration() -> None:
|
def enforce_welcome_screen_duration() -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user