1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

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

View File

@@ -92,7 +92,7 @@ void GT911Touchscreen::update_touches() {
uint16_t id = data[i][0];
uint16_t x = encode_uint16(data[i][2], data[i][1]);
uint16_t y = encode_uint16(data[i][4], data[i][3]);
this->set_raw_touch_position_(id, x, y);
this->add_raw_touch_position_(id, x, y);
}
auto keys = data[num_of_touches][0];
for (size_t i = 0; i != 4; i++) {