Skip to content

Commit

Permalink
fix(core): fix interaction-less update
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
cepetr committed Oct 1, 2024
1 parent 51b703c commit e6bda57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/embed/trezorhal/stm32f4/syscall_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
;
}
Expand Down

0 comments on commit e6bda57

Please sign in to comment.