Skip to content

Commit

Permalink
[Bugfix] LVGL bindings wrong offset math (#21147)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpekenin authored Jun 7, 2023
1 parent bb57aa2 commit ae0342c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions quantum/painter/lvgl/qp_lvgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down

0 comments on commit ae0342c

Please sign in to comment.