rename set_raw_touch_position_ to add_raw_touch_position_ (#5962)

This commit is contained in:
NP v/d Spek
2023-12-18 20:23:22 +01:00
committed by GitHub
parent d99598bba6
commit 8961e8ab32
9 changed files with 10 additions and 10 deletions
@@ -84,7 +84,7 @@ void LilygoT547Touchscreen::update_touches() {
id = (buffer[i * 5] >> 4) & 0x0F;
y_raw = (uint16_t) ((buffer[i * 5 + 1] << 4) | ((buffer[i * 5 + 3] >> 4) & 0x0F));
x_raw = (uint16_t) ((buffer[i * 5 + 2] << 4) | (buffer[i * 5 + 3] & 0x0F));
this->set_raw_touch_position_(id, x_raw, y_raw);
this->add_raw_touch_position_(id, x_raw, y_raw);
}
this->status_clear_warning();