From 16e11a9b80a84b80c6bf7ca029fd328fc599e3d6 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Tue, 23 Apr 2024 07:05:14 -0500 Subject: [PATCH] Use more appropriate define for PORTDUINO --- src/lgfx/v1/touch/Touch_FT5x06.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lgfx/v1/touch/Touch_FT5x06.cpp b/src/lgfx/v1/touch/Touch_FT5x06.cpp index 68290ce6..2fdbaff6 100644 --- a/src/lgfx/v1/touch/Touch_FT5x06.cpp +++ b/src/lgfx/v1/touch/Touch_FT5x06.cpp @@ -117,7 +117,7 @@ if (_inited) uint_fast8_t points = std::min(max_touch_points, readdata[0] & 0x0Fu); if (points) { -#if ARCH_PORTDUINO +#ifdef PORTDUINO_LINUX_HARDWARE readdata[1] = 0x03; lgfx::i2c::writeBytes(_cfg.i2c_port, &readdata[1], 1); #endif