modules: lvgl: fix pointer input for normal orientation

Add missing break statement for normal orientation.

Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
This commit is contained in:
Georgij Cernysiov 2024-05-30 11:28:27 +02:00 committed by Maureen Helm
parent 3ea5f799dd
commit 048b7552eb

View file

@ -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;