mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
modify GT911 driver to allow smoother touch
This commit is contained in:
parent
e4ea6e69ce
commit
bc5f93dd91
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user