From e6bda579b1a31fe34f5174286fe935c36833e4e0 Mon Sep 17 00:00:00 2001 From: cepetr Date: Tue, 1 Oct 2024 08:00:59 +0200 Subject: [PATCH] fix(core): fix interaction-less update [no changelog] --- core/embed/trezorhal/stm32f4/syscall_stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/trezorhal/stm32f4/syscall_stubs.c b/core/embed/trezorhal/stm32f4/syscall_stubs.c index 91f706d434..70487d39bf 100644 --- a/core/embed/trezorhal/stm32f4/syscall_stubs.c +++ b/core/embed/trezorhal/stm32f4/syscall_stubs.c @@ -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) ; }