diff --git a/core/embed/projects/boardloader/main.c b/core/embed/projects/boardloader/main.c index 2741d850cf..222c7052c7 100644 --- a/core/embed/projects/boardloader/main.c +++ b/core/embed/projects/boardloader/main.c @@ -39,6 +39,10 @@ #include #include +#ifdef USE_POWERCTL +#include +#endif + #ifdef USE_PVD #include #endif @@ -75,6 +79,9 @@ static const uint8_t * const BOARDLOADER_KEYS[] = { }; static void drivers_init(void) { +#ifdef USE_POWERCTL + powerctl_init(); +#endif #ifdef USE_PVD pvd_init(); #endif @@ -96,8 +103,10 @@ static void drivers_deinit(void) { #ifdef FIXED_HW_DEINIT // TODO #endif - display_deinit(DISPLAY_JUMP_BEHAVIOR); +#ifdef USE_POWERCTL + powerctl_deinit(); +#endif ensure_compatible_settings(); }