Skip to content

Commit b860d10

Browse files
authored
fix(legacy):update reboot command (#397)
1 parent 7d3e0d4 commit b860d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

legacy/intermediate_fw/trezor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void __attribute__((noinline, noreturn, section(".data#")))
8888
reboot_device(void) {
8989
__disable_irq();
9090
*STAY_IN_BOOTLOADER_FLAG_ADDR = STAY_IN_BOOTLOADER_FLAG;
91-
SCB_AIRCR = SCB_AIRCR_VECTKEY | SCB_AIRCR_VECTRESET;
91+
SCB_AIRCR = SCB_AIRCR_VECTKEY | SCB_AIRCR_SYSRESETREQ;
9292
while (1)
9393
;
9494
}

0 commit comments

Comments
 (0)