[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:
J. Nick Koston
2026-01-04 16:57:43 -10:00
committed by GitHub
parent d8387799d9
commit a2bb9468ff

View File

@@ -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