1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00

[libretiny_pwm] Combine log statements to reduce loop blocking (#12907)

This commit is contained in:
J. Nick Koston
2026-01-04 11:55:18 -10:00
committed by GitHub
parent a5368d1d95
commit f2308c77c6

View File

@@ -31,9 +31,11 @@ void LibreTinyPWM::setup() {
}
void LibreTinyPWM::dump_config() {
ESP_LOGCONFIG(TAG, "PWM Output:");
ESP_LOGCONFIG(TAG,
"PWM Output:\n"
" Frequency: %.1f Hz",
this->frequency_);
LOG_PIN(" Pin ", this->pin_);
ESP_LOGCONFIG(TAG, " Frequency: %.1f Hz", this->frequency_);
}
void LibreTinyPWM::update_frequency(float frequency) {