Skip to content

Commit

Permalink
Use more appropriate define for PORTDUINO
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-bennett committed Apr 23, 2024
1 parent 2dc2fc0 commit 16e11a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lgfx/v1/touch/Touch_FT5x06.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ if (_inited)
uint_fast8_t points = std::min<uint_fast8_t>(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
Expand Down

0 comments on commit 16e11a9

Please sign in to comment.