mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-27 13:35:44 +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>
|
#include <io/button.h>
|
||||||
|
|
||||||
bool button_get_event(button_event_t *event) {
|
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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user