From b323341e1777bf3abb21070928e4abba4df6a4d4 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Tue, 12 Apr 2022 22:10:43 +0200 Subject: [PATCH] Fix Screen rotation using Lanbon L8 does not affect touch #318 --- src/hasp_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hasp_gui.cpp b/src/hasp_gui.cpp index 970489f3..7fb9ccc4 100644 --- a/src/hasp_gui.cpp +++ b/src/hasp_gui.cpp @@ -293,7 +293,7 @@ void guiSetup() font_setup(); /* 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; lv_disp_drv_init(&disp_drv); disp_drv.buffer = &disp_buf;