mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-27 13:35:44 +00:00
unconditional charging start in bootloader
This commit is contained in:
parent
f5a1d7dc5c
commit
5abda7fe0c
@ -329,10 +329,9 @@ int bootloader_main(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_POWERCTL
|
#ifdef USE_POWERCTL
|
||||||
|
powerctl_init();
|
||||||
#ifndef TREZOR_EMULATOR
|
#ifndef TREZOR_EMULATOR
|
||||||
if (sectrue != manufacturing_mode || sectrue != firmware_present) {
|
npm1300_set_charging(true);
|
||||||
npm1300_set_charging(true);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user