From b50e201ea5fba94848f49b42d9d40f231775ed55 Mon Sep 17 00:00:00 2001 From: cepetr Date: Mon, 7 Apr 2025 16:17:37 +0200 Subject: [PATCH] fix(core): improve simulation of lost TOUCH_START events [no changelog] --- core/embed/io/touch/touch_fsm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/embed/io/touch/touch_fsm.c b/core/embed/io/touch/touch_fsm.c index 6f18612da4..6d262e6611 100644 --- a/core/embed/io/touch/touch_fsm.c +++ b/core/embed/io/touch/touch_fsm.c @@ -73,11 +73,7 @@ uint32_t touch_fsm_get_event(touch_fsm_t* fsm, uint32_t touch_state) { } } else { // We have missed the press down event, we have to simulate it. - // But ensure we don't simulate TOUCH_START if touch_get_event() is not - // called frequently enough to not produce false events. - if (!starving) { - event = TOUCH_START | xy; - } + event = TOUCH_START | xy; } } else if (touch_state & TOUCH_END) { if (fsm->pressed) {