merge changes from #4642

This commit is contained in:
lsellens 2024-07-07 11:41:43 -05:00
parent 25a1412603
commit 01f11dfec2

View File

@ -64,7 +64,8 @@ void RemoteReceiverComponent::dump_config() {
"invert the signal using 'inverted: True' in the pin schema!"); "invert the signal using 'inverted: True' in the pin schema!");
} }
ESP_LOGCONFIG(TAG, " Buffer Size: %u", this->buffer_size_); ESP_LOGCONFIG(TAG, " Buffer Size: %u", this->buffer_size_);
ESP_LOGCONFIG(TAG, " Tolerance: %u%%", this->tolerance_); ESP_LOGCONFIG(TAG, " Tolerance: %u%s", this->tolerance_,
(this->tolerance_mode_ == remote_base::TOLERANCE_MODE_TIME) ? " us" : "%");
ESP_LOGCONFIG(TAG, " Filter out pulses shorter than: %u us", this->filter_us_); ESP_LOGCONFIG(TAG, " Filter out pulses shorter than: %u us", this->filter_us_);
ESP_LOGCONFIG(TAG, " Signal is done after %u us of no changes", this->idle_us_); ESP_LOGCONFIG(TAG, " Signal is done after %u us of no changes", this->idle_us_);
} }