summaryrefslogtreecommitdiffstats
path: root/quantum/painter/lvgl
diff options
context:
space:
mode:
authorPablo Martínez <58857054+elpekenin@users.noreply.github.com>2023-06-08 00:59:13 +0200
committerGitHub <noreply@github.com>2023-06-08 08:59:13 +1000
commitae0342c12a1d0a097efb848dd8f4cb726ef2697d (patch)
treee8058acad9828932ba18efd58a801781b500de7f /quantum/painter/lvgl
parentbb57aa28e511f069c7c6403d1582be828e4ac9f7 (diff)
[Bugfix] LVGL bindings wrong offset math (#21147)
Diffstat (limited to 'quantum/painter/lvgl')
-rw-r--r--quantum/painter/lvgl/qp_lvgl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/quantum/painter/lvgl/qp_lvgl.c b/quantum/painter/lvgl/qp_lvgl.c
index 660ffb6100..6cc0061d73 100644
--- a/quantum/painter/lvgl/qp_lvgl.c
+++ b/quantum/painter/lvgl/qp_lvgl.c
@@ -112,9 +112,6 @@ bool qp_lvgl_attach(painter_device_t device) {
uint16_t panel_width, panel_height, offset_x, offset_y;
qp_get_geometry(selected_display, &panel_width, &panel_height, NULL, &offset_x, &offset_y);
- panel_width -= offset_x;
- panel_height -= offset_y;
-
// Setting up display driver
static lv_disp_drv_t disp_drv; /*Descriptor of a display driver*/
lv_disp_drv_init(&disp_drv); /*Basic initialization*/