mirror of
https://github.com/esphome/esphome.git
synced 2026-01-10 04:00:51 -07:00
[tlc5971] Combine log statements to reduce loop blocking (#12922)
This commit is contained in:
@@ -15,10 +15,12 @@ void TLC5971::setup() {
|
||||
this->pwm_amounts_.resize(this->num_chips_ * N_CHANNELS_PER_CHIP, 0);
|
||||
}
|
||||
void TLC5971::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "TLC5971:");
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"TLC5971:\n"
|
||||
" Number of chips: %u",
|
||||
this->num_chips_);
|
||||
LOG_PIN(" Data Pin: ", this->data_pin_);
|
||||
LOG_PIN(" Clock Pin: ", this->clock_pin_);
|
||||
ESP_LOGCONFIG(TAG, " Number of chips: %u", this->num_chips_);
|
||||
}
|
||||
|
||||
void TLC5971::loop() {
|
||||
|
||||
Reference in New Issue
Block a user