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:
parent
0e3a7f43a4
commit
65e5716b9b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user