mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
tt21100: restore init read (#6008)
This commit is contained in:
parent
8e674990b0
commit
6583026e14
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ void TT21100Touchscreen::setup() {
|
||||||
// Update display dimensions if they were updated during display setup
|
// Update display dimensions if they were updated during display setup
|
||||||
this->x_raw_max_ = this->get_width_();
|
this->x_raw_max_ = this->get_width_();
|
||||||
this->y_raw_max_ = this->get_height_();
|
this->y_raw_max_ = this->get_height_();
|
||||||
|
|
||||||
|
// Trigger initial read to activate the interrupt
|
||||||
|
this->store_.touched = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TT21100Touchscreen::update_touches() {
|
void TT21100Touchscreen::update_touches() {
|
||||||
|
|
Loading…
Reference in a new issue