From 2e280ca35860cae14fbef296942362c9e5c1fa57 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Thu, 12 May 2016 16:15:47 +0200 Subject: [PATCH] TOUCH_END is uint(4) now --- extmod/modtrezorui/display-unix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/modtrezorui/display-unix.h b/extmod/modtrezorui/display-unix.h index ae606f67..47ee7c6c 100644 --- a/extmod/modtrezorui/display-unix.h +++ b/extmod/modtrezorui/display-unix.h @@ -58,7 +58,7 @@ uint32_t trezorui_poll_sdl_event(void) } break; case SDL_MOUSEBUTTONUP: - return (0x00 << 24) | (0x03 << 16) | (x << 8) | y; // touch_end + return (0x00 << 24) | (0x04 << 16) | (x << 8) | y; // touch_end break; } break;