mirror of
https://github.com/esphome/esphome.git
synced 2025-09-07 22:02:22 +01:00
Reduce ESP_LOGCONFIG calls (#9026)
This commit is contained in:
@@ -45,8 +45,10 @@ void PCA9554Component::loop() {
|
||||
}
|
||||
|
||||
void PCA9554Component::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "PCA9554:");
|
||||
ESP_LOGCONFIG(TAG, " I/O Pins: %d", this->pin_count_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"PCA9554:\n"
|
||||
" I/O Pins: %d",
|
||||
this->pin_count_);
|
||||
LOG_I2C_DEVICE(this)
|
||||
if (this->is_failed()) {
|
||||
ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
|
||||
|
Reference in New Issue
Block a user