Browse Source

[Bugfix] LVGL bindings wrong offset math (#21147)

pull/21160/head 0.21.1
Pablo Martínez 11 months ago
committed by GitHub
parent
commit
ae0342c12a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      quantum/painter/lvgl/qp_lvgl.c

+ 0
- 3
quantum/painter/lvgl/qp_lvgl.c View File

@ -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*/


Loading…
Cancel
Save