diff --git a/src/drv/touch/touch_driver_gt911.cpp b/src/drv/touch/touch_driver_gt911.cpp index 0e180ce4..b5d2d3a8 100644 --- a/src/drv/touch/touch_driver_gt911.cpp +++ b/src/drv/touch/touch_driver_gt911.cpp @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2023 Francis Van Roie For full license information read the LICENSE file in the project folder */ -#if defined(ARDUINO) && (TOUCH_DRIVER == 0x0911) +#if defined(ARDUINO) && (TOUCH_DRIVER == 0x0911) && !defined(HASP_USE_LGFX_TOUCH) #include #include "ArduinoLog.h" #include "hasp_conf.h"