From 82c8614315e94e869c043842f77988a73456a33b Mon Sep 17 00:00:00 2001 From: Ben Winslow Date: Wed, 30 Apr 2025 20:55:36 -0400 Subject: [PATCH] Fix typo preventing tt21100 from autosetting the touchscreen res. (#8662) --- esphome/components/tt21100/touchscreen/tt21100.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/tt21100/touchscreen/tt21100.cpp b/esphome/components/tt21100/touchscreen/tt21100.cpp index 2bea72a59e..d18ce835c1 100644 --- a/esphome/components/tt21100/touchscreen/tt21100.cpp +++ b/esphome/components/tt21100/touchscreen/tt21100.cpp @@ -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(); } }