mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Remove literal string
This commit is contained in:
parent
156bf2be1b
commit
6888572970
@ -21,7 +21,7 @@ bool IRAM_ATTR FT5206_getXY(int16_t * touchX, int16_t * touchY, bool debug)
|
||||
|
||||
if(debug) {
|
||||
char tempString[128];
|
||||
sprintf(tempString, "FT5206 touched x: %d y: %d\n", tp.x, tp.y);
|
||||
sprintf(tempString, F("FT5206 touched x: %d y: %d\n"), tp.x, tp.y); // TODO: literal string
|
||||
Serial.print(tempString);
|
||||
}
|
||||
|
||||
|
@ -19,9 +19,9 @@ void IRAM_ATTR GT911_setXY(int8_t contacts, GTPoint * points)
|
||||
GT911_num_touches = contacts;
|
||||
GT911_points = points;
|
||||
|
||||
Log.verbose(TAG_GUI, "Contacts: %d", contacts);
|
||||
Log.verbose(TAG_GUI, F("Contacts: %d"), contacts);
|
||||
for(int i = 0; i < contacts; i++) {
|
||||
Log.verbose(TAG_GUI, "C%d: #%d %d,%d s:%d", i, points[i].trackId, points[i].x, points[i].y, points[i].area);
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user