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:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user