1
0
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:
tychovrahe 2025-03-17 08:33:30 +01:00
parent f5a1d7dc5c
commit 5abda7fe0c

View File

@ -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