Skip to content

Commit 048b755

Browse files
GeorgeCGVMaureenHelm
authored andcommitted
modules: lvgl: fix pointer input for normal orientation
Add missing break statement for normal orientation. Signed-off-by: Georgij Cernysiov <[email protected]>
1 parent 3ea5f79 commit 048b755

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/lvgl/input/lvgl_pointer_input.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ static void lvgl_pointer_process_event(const struct device *dev, struct input_ev
8989
case DISPLAY_ORIENTATION_NORMAL:
9090
point->x = tmp_point.x;
9191
point->y = tmp_point.y;
92+
break;
9293
case DISPLAY_ORIENTATION_ROTATED_90:
9394
point->x = tmp_point.y;
9495
point->y = cap->y_resolution - tmp_point.x;

0 commit comments

Comments
 (0)