mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 12:58:13 +00:00
fix(core): move OEM key check after display initialization so that error message can be displayed
[no changelog]
This commit is contained in:
parent
9a212a22bd
commit
dfe5ee67f1
@ -111,10 +111,6 @@ int main(void) {
|
||||
rdi_start();
|
||||
#endif
|
||||
|
||||
#ifdef STM32U5
|
||||
check_oem_keys();
|
||||
#endif
|
||||
|
||||
// reinitialize HAL for Trezor One
|
||||
#if defined TREZOR_MODEL_1
|
||||
HAL_Init();
|
||||
@ -134,6 +130,10 @@ int main(void) {
|
||||
|
||||
display_reinit();
|
||||
|
||||
#ifdef STM32U5
|
||||
check_oem_keys();
|
||||
#endif
|
||||
|
||||
screen_boot_stage_2();
|
||||
|
||||
#if !defined TREZOR_MODEL_1
|
||||
|
Loading…
Reference in New Issue
Block a user