mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-11 16:00:57 +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) {
|
secbool secret_bootloader_locked(void) {
|
||||||
#ifdef FIRMWARE
|
#ifdef FIRMWARE
|
||||||
return TAMP->BKP8R != 0 * sectrue;
|
return (TAMP->BKP8R != 0) * sectrue;
|
||||||
#else
|
#else
|
||||||
return sectrue;
|
return sectrue;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user