From bc5f93dd91fe22475acb7acb2a4dbe0d1374b040 Mon Sep 17 00:00:00 2001 From: arovak Date: Wed, 17 Mar 2021 12:25:52 +0100 Subject: [PATCH] modify GT911 driver to allow smoother touch --- src/drv/touch/hasp_drv_gt911.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/drv/touch/hasp_drv_gt911.cpp b/src/drv/touch/hasp_drv_gt911.cpp index 1d2ee59f..eebba5b1 100644 --- a/src/drv/touch/hasp_drv_gt911.cpp +++ b/src/drv/touch/hasp_drv_gt911.cpp @@ -19,11 +19,11 @@ void GT911_setXY(int8_t contacts, GTPoint * points) GT911_num_touches = contacts; GT911_points = points; - LOG_VERBOSE(TAG_GUI, F("Contacts: %d"), contacts); - for(int i = 0; i < contacts; i++) { - LOG_VERBOSE(TAG_GUI, F("C%d: #%d %d,%d s:%d"), i, points[i].trackId, points[i].x, points[i].y, points[i].area); - yield(); - } + // LOG_VERBOSE(TAG_GUI, F("Contacts: %d"), contacts); + // for(int i = 0; i < contacts; i++) { + // LOG_VERBOSE(TAG_GUI, F("C%d: #%d %d,%d s:%d"), i, points[i].trackId, points[i].x, points[i].y, points[i].area); + // yield(); + // } } // Read touch points from global variable