From 6e21425fa8923dd9776d9c39d47a8509bf6a93c4 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Thu, 23 Feb 2023 14:33:05 +0100 Subject: [PATCH] Dont use GT911 touch driver with HASP_USE_LGFX_TOUCH --- src/drv/touch/touch_driver_gt911.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"