From 65e5716b9be684f468959fd74509d57fc49ca12f Mon Sep 17 00:00:00 2001
From: tychovrahe <brunam@seznam.cz>
Date: Wed, 12 Mar 2025 05:05:57 +0100
Subject: [PATCH] fixup! button events refactor

---
 core/embed/sys/syscall/stm32/syscall_stubs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 <io/button.h>
 
 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