1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00

fix(core): fix model T display reinitialization crash

[no changelog]
This commit is contained in:
tychovrahe 2023-01-04 13:51:33 +01:00 committed by TychoVrahe
parent 5668b5db2b
commit 99d4b0185a

View File

@ -87,6 +87,8 @@ int main(void) {
enable_systemview();
#endif
display_reinit();
#if !defined TREZOR_MODEL_1
parse_boardloader_capabilities();
@ -109,8 +111,6 @@ int main(void) {
SCB->SHCSR |= (SCB_SHCSR_USGFAULTENA_Msk | SCB_SHCSR_BUSFAULTENA_Msk);
#endif
display_reinit();
#if defined TREZOR_MODEL_1
button_init();
#endif