1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-31 19:08:28 +00:00

fix(core): fix kernel power manager initialization

[no changelog]
This commit is contained in:
tychovrahe 2025-05-12 09:56:46 +02:00 committed by kopecdav
parent b634eaca91
commit 33b8b2c8f7

View File

@ -66,8 +66,8 @@
#include <sec/tropic.h> #include <sec/tropic.h>
#endif #endif
#ifdef USE_POWERCTL #ifdef USE_POWER_MANAGER
#include <sys/powerctl.h> #include <sys/power_manager.h>
#endif #endif
#ifdef USE_PVD #ifdef USE_PVD
@ -103,8 +103,8 @@ void drivers_init() {
backup_ram_init(); backup_ram_init();
#endif #endif
#ifdef USE_POWERCTL #ifdef USE_POWER_MANAGER
powerctl_init(); pm_init(true);
#endif #endif
#ifdef USE_TAMPER #ifdef USE_TAMPER