From 71aff9bc60a5d22fe5980fefc769a61b2c0a11c3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 30 Jun 2025 14:30:07 -0500 Subject: [PATCH] dry --- esphome/components/esp32_touch/esp32_touch_common.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/esphome/components/esp32_touch/esp32_touch_common.cpp b/esphome/components/esp32_touch/esp32_touch_common.cpp index a795f86e66..fd2cdfcbad 100644 --- a/esphome/components/esp32_touch/esp32_touch_common.cpp +++ b/esphome/components/esp32_touch/esp32_touch_common.cpp @@ -153,14 +153,6 @@ void ESP32TouchComponent::calculate_release_timeout_() { this->release_check_interval_ms_ = this->release_timeout_ms_ / 4; } -void ESP32TouchComponent::initialize_tracking_arrays_() { - // Initialize tracking arrays - for (size_t i = 0; i < TOUCH_PAD_MAX; i++) { - this->last_touch_time_[i] = 0; - this->initial_state_published_[i] = false; - } -} - } // namespace esp32_touch } // namespace esphome