From 048b7552ebbdff694a8c85f59f66d73501a135af Mon Sep 17 00:00:00 2001 From: Georgij Cernysiov Date: Thu, 30 May 2024 11:28:27 +0200 Subject: [PATCH] modules: lvgl: fix pointer input for normal orientation Add missing break statement for normal orientation. Signed-off-by: Georgij Cernysiov --- modules/lvgl/input/lvgl_pointer_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lvgl/input/lvgl_pointer_input.c b/modules/lvgl/input/lvgl_pointer_input.c index 11f350034cf..679be46abb5 100644 --- a/modules/lvgl/input/lvgl_pointer_input.c +++ b/modules/lvgl/input/lvgl_pointer_input.c @@ -89,6 +89,7 @@ static void lvgl_pointer_process_event(const struct device *dev, struct input_ev case DISPLAY_ORIENTATION_NORMAL: point->x = tmp_point.x; point->y = tmp_point.y; + break; case DISPLAY_ORIENTATION_ROTATED_90: point->x = tmp_point.y; point->y = cap->y_resolution - tmp_point.x;