1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Merge 4a0dbffc477fe9d065a9f3f84cb1863390b653f3 into dev

This commit is contained in:
github-actions[bot] 2021-03-17 09:09:16 +00:00 committed by GitHub
commit 3c50a252ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ lv_disp_t * lv_disp_drv_register(lv_disp_drv_t * driver)
*/
void lv_disp_drv_update(lv_disp_t * disp, lv_disp_drv_t * new_drv)
{
LV_UNUSED(new_drv);
disp->driver = new_drv;
lv_coord_t w = lv_disp_get_hor_res(disp);
lv_coord_t h = lv_disp_get_ver_res(disp);