mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00:00
[sm2335] Combine log statements to reduce loop blocking (#12965)
This commit is contained in:
@@ -15,13 +15,13 @@ void SM2335::setup() {
|
||||
}
|
||||
|
||||
void SM2335::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "sm2335:");
|
||||
LOG_PIN(" Data Pin: ", this->data_pin_);
|
||||
LOG_PIN(" Clock Pin: ", this->clock_pin_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"sm2335:\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 sm2335
|
||||
|
||||
Reference in New Issue
Block a user