From 8d224f7a3783a33acfe5a8512d19796806642f35 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Mon, 17 Mar 2025 08:34:27 +0100 Subject: [PATCH] charging start in prodtest --- core/embed/projects/prodtest/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/embed/projects/prodtest/main.c b/core/embed/projects/prodtest/main.c index 526f01d24c..8bbdc97673 100644 --- a/core/embed/projects/prodtest/main.c +++ b/core/embed/projects/prodtest/main.c @@ -76,6 +76,7 @@ #ifdef USE_POWERCTL #include +#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);