mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
fix(legacy): change STAY_IN_BOOTLOADER_FLAG to 0x0FC35A96
to have hamming distance greater than 2 from zero
This commit is contained in:
parent
4b0f41d41e
commit
10cb634a45
@ -32,7 +32,7 @@
|
||||
#define SVC_REBOOT_TO_BOOTLOADER 5
|
||||
|
||||
#define STAY_IN_BOOTLOADER_FLAG_ADDR ((uint32_t *)0x20010000)
|
||||
#define STAY_IN_BOOTLOADER_FLAG 0x11
|
||||
#define STAY_IN_BOOTLOADER_FLAG 0x0FC35A96
|
||||
|
||||
/* Unlocks flash. This function needs to be called before programming
|
||||
* or erasing. Multiple calls of flash_program and flash_erase can
|
||||
|
Loading…
Reference in New Issue
Block a user