1
0
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:
tychovrahe 2024-04-16 10:14:55 +02:00 committed by TychoVrahe
parent 9a212a22bd
commit dfe5ee67f1

View File

@ -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