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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user