1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-22 19:15:43 +00:00

fixup! button events refactor

This commit is contained in:
tychovrahe 2025-03-12 05:05:57 +01:00
parent 0e3a7f43a4
commit 65e5716b9b

View File

@ -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