1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-23 06:58:13 +00:00

fix(core): reboot device after bootloader upgrade

[no changelog]
This commit is contained in:
tychovrahe 2025-06-20 20:19:45 +02:00 committed by TychoVrahe
parent 548f29eb3f
commit 8c187c7c31

View File

@ -43,6 +43,8 @@
#include <blake2s.h>
#include "sys/bootutils.h"
#ifdef USE_SECP256K1_ZKP
#include "zkp_context.h"
#endif
@ -123,6 +125,12 @@ int main_func(uint32_t cmd, void *arg) {
#endif
}
#if PRODUCTION || BOOTLOADER_QA
if (bl_update_required) {
reboot_device();
}
#endif
screen_boot_stage_2(fading);
#ifdef USE_SECP256K1_ZKP