From 289536eb6954e3f99d87b5628f0d711020423e72 Mon Sep 17 00:00:00 2001 From: cepetr Date: Thu, 19 Dec 2024 12:11:13 +0100 Subject: [PATCH] TEMP - test --- core/embed/projects/bootloader/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/embed/projects/bootloader/main.c b/core/embed/projects/bootloader/main.c index 8205ec80b85..45ef4b82f71 100644 --- a/core/embed/projects/bootloader/main.c +++ b/core/embed/projects/bootloader/main.c @@ -45,6 +45,9 @@ #ifdef USE_PVD #include #endif +#ifdef USE_POWERCTL +#include +#endif #ifdef USE_OPTIGA #include #endif @@ -403,6 +406,11 @@ int bootloader_main(void) { ui_screen_boot_stage_1(false); +#ifdef USE_POWERCTL + systick_delay_ms(3000); + powerctl_suspend(); +#endif + #ifdef TREZOR_EMULATOR // wait a bit so that the empty lock icon is visible // (on a real device, we are waiting for touch init which takes longer)