mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 10:08:40 +00:00
[my9231] Combine log statements to reduce loop blocking (#12915)
This commit is contained in:
@@ -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_)
|
||||
|
||||
Reference in New Issue
Block a user