mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-20 05:18:08 +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();
|
rdi_start();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef STM32U5
|
|
||||||
check_oem_keys();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// reinitialize HAL for Trezor One
|
// reinitialize HAL for Trezor One
|
||||||
#if defined TREZOR_MODEL_1
|
#if defined TREZOR_MODEL_1
|
||||||
HAL_Init();
|
HAL_Init();
|
||||||
@ -134,6 +130,10 @@ int main(void) {
|
|||||||
|
|
||||||
display_reinit();
|
display_reinit();
|
||||||
|
|
||||||
|
#ifdef STM32U5
|
||||||
|
check_oem_keys();
|
||||||
|
#endif
|
||||||
|
|
||||||
screen_boot_stage_2();
|
screen_boot_stage_2();
|
||||||
|
|
||||||
#if !defined TREZOR_MODEL_1
|
#if !defined TREZOR_MODEL_1
|
||||||
|
Loading…
Reference in New Issue
Block a user