1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-22 19:15:43 +00:00

charging start in prodtest

This commit is contained in:
tychovrahe 2025-03-17 08:34:27 +01:00
parent 5abda7fe0c
commit 8d224f7a37

View File

@ -76,6 +76,7 @@
#ifdef USE_POWERCTL
#include <sys/powerctl.h>
#include "../../sys/powerctl/npm1300/npm1300.h"
#endif
#ifdef USE_STORAGE_HWKEY
@ -184,6 +185,7 @@ static void show_welcome_screen(void) {
static void drivers_init(void) {
#ifdef USE_POWERCTL
powerctl_init();
npm1300_set_charging(true);
#endif
display_init(DISPLAY_RESET_CONTENT);