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

charging start

This commit is contained in:
tychovrahe 2025-03-12 02:26:06 +01:00
parent 2adba6b638
commit 4e840cdd46

View File

@ -119,7 +119,6 @@ static secbool drivers_init(secbool *touch_initialized) {
}
#endif
#ifdef USE_OPTIGA
optiga_hal_init();
#endif
@ -330,11 +329,11 @@ int bootloader_main(void) {
}
#ifdef USE_POWERCTL
#ifndef TREZOR_EMULATOR
#ifndef TREZOR_EMULATOR
if (sectrue != manufacturing_mode || sectrue != firmware_present) {
npm1300_set_charging(true);
}
#endif
#endif
#endif
#if PRODUCTION && !defined STM32U5