tt21100: restore init read (#6008)

This commit is contained in:
NP v/d Spek 2023-12-24 14:54:53 +01:00 committed by GitHub
parent 8e674990b0
commit 6583026e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,9 @@ void TT21100Touchscreen::setup() {
// Update display dimensions if they were updated during display setup
this->x_raw_max_ = this->get_width_();
this->y_raw_max_ = this->get_height_();
// Trigger initial read to activate the interrupt
this->store_.touched = true;
}
void TT21100Touchscreen::update_touches() {