1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-30 02:18:16 +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>
#endif
#ifdef USE_POWERCTL
#include <sys/powerctl.h>
#ifdef USE_POWER_MANAGER
#include <sys/power_manager.h>
#endif
#ifdef USE_PVD
@ -103,8 +103,8 @@ void drivers_init() {
backup_ram_init();
#endif
#ifdef USE_POWERCTL
powerctl_init();
#ifdef USE_POWER_MANAGER
pm_init(true);
#endif
#ifdef USE_TAMPER