1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-15 09:42:19 +01:00
This commit is contained in:
J. Nick Koston
2025-06-12 10:21:41 -05:00
parent c6ed880732
commit 0bd4c333bd
2 changed files with 0 additions and 10 deletions

View File

@@ -118,14 +118,6 @@ void ESP32TouchComponent::setup() {
// Enable touch pad interrupt // Enable touch pad interrupt
touch_pad_intr_enable(); touch_pad_intr_enable();
// Initialize all sensors as not touched
// The ISR will immediately update with actual state
for (auto *child : this->children_) {
// Initialize as not touched
child->last_state_ = false;
child->publish_initial_state(false);
}
} }
void ESP32TouchComponent::dump_config() { void ESP32TouchComponent::dump_config() {

View File

@@ -55,8 +55,6 @@ class ESP32TouchComponent : public Component {
void set_iir_filter(uint32_t iir_filter) { this->iir_filter_ = iir_filter; } void set_iir_filter(uint32_t iir_filter) { this->iir_filter_ = iir_filter; }
#endif #endif
uint32_t component_touch_pad_read(touch_pad_t tp);
void setup() override; void setup() override;
void dump_config() override; void dump_config() override;
void loop() override; void loop() override;