From b6d234af709dc608116e69172b377043334ed3bd Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 1 Oct 2017 00:58:33 +0200 Subject: [PATCH] should add ESP32 support. do not have hardware to test. --- .../480 x 320/Touch_Controller_Demo/Touch_Controller_Demo.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/480 x 320/Touch_Controller_Demo/Touch_Controller_Demo.ino b/examples/480 x 320/Touch_Controller_Demo/Touch_Controller_Demo.ino index 6eda034..4e03770 100644 --- a/examples/480 x 320/Touch_Controller_Demo/Touch_Controller_Demo.ino +++ b/examples/480 x 320/Touch_Controller_Demo/Touch_Controller_Demo.ino @@ -60,7 +60,7 @@ void loop() { uint16_t x, y; static uint16_t color; - if (tft.getTouch(&x, &y) { + if (tft.getTouch(&x, &y)) { tft.setCursor(5, 5, 2); tft.printf("x: %i ", x);