[sm2335] Combine log statements to reduce loop blocking (#12965)

This commit is contained in:
J. Nick Koston
2026-01-04 16:56:30 -10:00
committed by GitHub
parent ae3cdeda99
commit d8387799d9
+3 -3
View File
@@ -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