mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
fix(core): fix bootloader unlock check on STM32U5, fw only
[no changelog]
This commit is contained in:
parent
5c781ca14b
commit
5a8989f00d
1
core/.changelog.d/3922.fixed
Normal file
1
core/.changelog.d/3922.fixed
Normal file
@ -0,0 +1 @@
|
||||
[T3T1] Fixed device authenticity check
|
@ -38,7 +38,7 @@ secbool secret_ensure_initialized(void) {
|
||||
|
||||
secbool secret_bootloader_locked(void) {
|
||||
#ifdef FIRMWARE
|
||||
return TAMP->BKP8R != 0 * sectrue;
|
||||
return (TAMP->BKP8R != 0) * sectrue;
|
||||
#else
|
||||
return sectrue;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user