mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-27 13:35:44 +00:00
charging start in prodtest
This commit is contained in:
parent
5abda7fe0c
commit
8d224f7a37
@ -76,6 +76,7 @@
|
|||||||
|
|
||||||
#ifdef USE_POWERCTL
|
#ifdef USE_POWERCTL
|
||||||
#include <sys/powerctl.h>
|
#include <sys/powerctl.h>
|
||||||
|
#include "../../sys/powerctl/npm1300/npm1300.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_STORAGE_HWKEY
|
#ifdef USE_STORAGE_HWKEY
|
||||||
@ -184,6 +185,7 @@ static void show_welcome_screen(void) {
|
|||||||
static void drivers_init(void) {
|
static void drivers_init(void) {
|
||||||
#ifdef USE_POWERCTL
|
#ifdef USE_POWERCTL
|
||||||
powerctl_init();
|
powerctl_init();
|
||||||
|
npm1300_set_charging(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
display_init(DISPLAY_RESET_CONTENT);
|
display_init(DISPLAY_RESET_CONTENT);
|
||||||
|
Loading…
Reference in New Issue
Block a user