Fix Screen rotation using Lanbon L8 does not affect touch #318

This commit is contained in:
fvanroie 2022-04-12 22:10:43 +02:00
parent 17a2518687
commit b323341e17

View File

@ -293,7 +293,7 @@ void guiSetup()
font_setup(); font_setup();
/* Initialize the LVGL display driver with correct orientation */ /* Initialize the LVGL display driver with correct orientation */
#if(TOUCH_DRIVER == 0x2046) || defined(LGFX_USE_V1) // Use native display driver to rotate display and touch #if(TOUCH_DRIVER == 0x2046) // || defined(LGFX_USE_V1) // Use native display driver to rotate display and touch
static lv_disp_drv_t disp_drv; static lv_disp_drv_t disp_drv;
lv_disp_drv_init(&disp_drv); lv_disp_drv_init(&disp_drv);
disp_drv.buffer = &disp_buf; disp_drv.buffer = &disp_buf;