Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
542749433c
@ -112,9 +112,6 @@ bool qp_lvgl_attach(painter_device_t device) {
|
|||||||
uint16_t panel_width, panel_height, offset_x, offset_y;
|
uint16_t panel_width, panel_height, offset_x, offset_y;
|
||||||
qp_get_geometry(selected_display, &panel_width, &panel_height, NULL, &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
|
// Setting up display driver
|
||||||
static lv_disp_drv_t disp_drv; /*Descriptor of a display driver*/
|
static lv_disp_drv_t disp_drv; /*Descriptor of a display driver*/
|
||||||
lv_disp_drv_init(&disp_drv); /*Basic initialization*/
|
lv_disp_drv_init(&disp_drv); /*Basic initialization*/
|
||||||
|
Loading…
Reference in New Issue
Block a user