mirror of
https://github.com/esphome/esphome.git
synced 2026-01-10 04:00:51 -07:00
[sm2235] Combine log statements to reduce loop blocking (#12964)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
This commit is contained in:
@@ -15,13 +15,13 @@ void SM2235::setup() {
|
||||
}
|
||||
|
||||
void SM2235::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "sm2235:");
|
||||
LOG_PIN(" Data Pin: ", this->data_pin_);
|
||||
LOG_PIN(" Clock Pin: ", this->clock_pin_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"SM2235:\n"
|
||||
" Color Channels Max Power: %u\n"
|
||||
" White Channels Max Power: %u",
|
||||
this->max_power_color_channels_, this->max_power_white_channels_);
|
||||
LOG_PIN(" Data Pin: ", this->data_pin_);
|
||||
LOG_PIN(" Clock Pin: ", this->clock_pin_);
|
||||
}
|
||||
|
||||
} // namespace sm2235
|
||||
|
||||
Reference in New Issue
Block a user