Print all children

This commit is contained in:
Jesse Hills 2025-06-12 14:32:42 +12:00
parent a794a8f3e4
commit 14e6918eb1
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -294,7 +294,7 @@ uint32_t ESP32TouchComponent::component_touch_pad_read(touch_pad_t tp) {
void ESP32TouchComponent::loop() {
const uint32_t now = App.get_loop_component_start_time();
bool should_print = this->setup_mode_ && now - this->setup_mode_last_log_print_ > 250;
if (should_print) {
if (should_print && this->current_child_ == this->children_.size() - 1) {
// Avoid spamming logs
this->setup_mode_last_log_print_ = now;
}