diff --git a/core/embed/sys/syscall/stm32/syscall_stubs.c b/core/embed/sys/syscall/stm32/syscall_stubs.c index c3c866f035..85357adbcd 100644 --- a/core/embed/sys/syscall/stm32/syscall_stubs.c +++ b/core/embed/sys/syscall/stm32/syscall_stubs.c @@ -364,7 +364,7 @@ secbool secret_bootloader_locked(void) { #include bool button_get_event(button_event_t *event) { - return syscall_invoke1(SYSCALL_BUTTON_GET_EVENT, (uint32_t)event); + return syscall_invoke1((uint32_t)event, SYSCALL_BUTTON_GET_EVENT); } #endif