fix touch screen

This commit is contained in:
mverch67 2025-03-26 16:40:24 +01:00 committed by Thomas Göttgens
parent 26b72d1188
commit fcef6fbb14

View File

@ -122,9 +122,9 @@ static void rak14014_tpIntHandle(void)
#elif defined(ST72xx_DE) #elif defined(ST72xx_DE)
#include <LovyanGFX.hpp> #include <LovyanGFX.hpp>
#include <TCA9534.h>
#include <lgfx/v1/platforms/esp32s3/Bus_RGB.hpp> #include <lgfx/v1/platforms/esp32s3/Bus_RGB.hpp>
#include <lgfx/v1/platforms/esp32s3/Panel_RGB.hpp> #include <lgfx/v1/platforms/esp32s3/Panel_RGB.hpp>
#include <TCA9534.h>
TCA9534 ioex; TCA9534 ioex;
class LGFX : public lgfx::LGFX_Device class LGFX : public lgfx::LGFX_Device
@ -426,7 +426,7 @@ class LGFX : public lgfx::LGFX_Device
lgfx::Bus_SPI _bus_instance; lgfx::Bus_SPI _bus_instance;
lgfx::Light_PWM _light_instance; lgfx::Light_PWM _light_instance;
#if HAS_TOUCHSCREEN #if HAS_TOUCHSCREEN
#ifdef T_WATCH_S3 #if defined(T_WATCH_S3) || defined(ELECROW)
lgfx::Touch_FT5x06 _touch_instance; lgfx::Touch_FT5x06 _touch_instance;
#else #else
lgfx::Touch_GT911 _touch_instance; lgfx::Touch_GT911 _touch_instance;