[my9231] Combine log statements to reduce loop blocking (#12915)

This commit is contained in:
J. Nick Koston
2026-01-04 11:27:14 -10:00
committed by GitHub
parent fc9683f024
commit 6d9d593e12
+3 -3
View File
@@ -58,14 +58,14 @@ void MY9231OutputComponent::setup() {
}
}
void MY9231OutputComponent::dump_config() {
ESP_LOGCONFIG(TAG, "MY9231:");
LOG_PIN(" DI Pin: ", this->pin_di_);
LOG_PIN(" DCKI Pin: ", this->pin_dcki_);
ESP_LOGCONFIG(TAG,
"MY9231:\n"
" Total number of channels: %u\n"
" Number of chips: %u\n"
" Bit depth: %u",
this->num_channels_, this->num_chips_, this->bit_depth_);
LOG_PIN(" DI Pin: ", this->pin_di_);
LOG_PIN(" DCKI Pin: ", this->pin_dcki_);
}
void MY9231OutputComponent::loop() {
if (!this->update_)