1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-24 21:32:03 +00:00

feat(core): allow touchless mode in T3W1 bootloader

[no changelog]
This commit is contained in:
tychovrahe 2024-11-15 09:48:13 +01:00 committed by TychoVrahe
parent 309a7f70b6
commit 001d3c7cbe

View File

@ -369,8 +369,8 @@ int bootloader_main(void) {
#ifdef USE_TOUCH #ifdef USE_TOUCH
secbool touch_initialized = secfalse; secbool touch_initialized = secfalse;
secbool allow_touchless_mode = secfalse; secbool allow_touchless_mode = secfalse;
#ifdef TREZOR_MODEL_T3T1 #if defined TREZOR_MODEL_T3T1 || defined TREZOR_MODEL_T3W1
// on T3T1, tester needs to run without touch, so making an exception // on T3T1 and T3W1, tester needs to run without touch, so making an exception
// until unit variant is written in OTP // until unit variant is written in OTP
const secbool manufacturing_mode = const secbool manufacturing_mode =
unit_properties()->locked ? secfalse : sectrue; unit_properties()->locked ? secfalse : sectrue;