1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-16 10:12:21 +01:00

more debug

This commit is contained in:
J. Nick Koston
2025-06-12 12:13:46 -05:00
parent 13d7c5a9a9
commit a28c951272

View File

@@ -109,8 +109,9 @@ void ESP32TouchComponent::setup() {
// Start FSM
touch_pad_fsm_start();
// Wait a bit for initial measurements
vTaskDelay(10 / portTICK_PERIOD_MS);
// Wait longer for initial measurements to complete
// Need to wait for at least one full measurement cycle
vTaskDelay(100 / portTICK_PERIOD_MS);
// Read initial benchmark values and set thresholds if not explicitly configured
for (auto *child : this->children_) {