mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
fix(core): fix interaction-less update
[no changelog]
This commit is contained in:
parent
51b703cb1a
commit
e6bda579b1
@ -87,7 +87,7 @@ void reboot_to_bootloader(void) {
|
||||
}
|
||||
|
||||
void reboot_and_upgrade(const uint8_t hash[32]) {
|
||||
syscall_invoke1(SYSCALL_REBOOT_AND_UPGRADE, (uint32_t)hash);
|
||||
syscall_invoke1((uint32_t)hash, SYSCALL_REBOOT_AND_UPGRADE);
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user