fix(core): move OEM key check after display initialization so that error message can be displayed

[no changelog]
pull/3721/head
tychovrahe 4 weeks ago
parent ad848eefc5
commit 708d0515f4

@ -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…
Cancel
Save