Fix typo preventing tt21100 from autosetting the touchscreen res. (#8662)

This commit is contained in:
Ben Winslow 2025-04-30 20:55:36 -04:00 committed by GitHub
parent bf527b0331
commit d2b4dba51f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ void TT21100Touchscreen::setup() {
this->x_raw_max_ = this->display_->get_native_width();
}
if (this->y_raw_max_ == this->y_raw_min_) {
this->x_raw_max_ = this->display_->get_native_height();
this->y_raw_max_ = this->display_->get_native_height();
}
}