mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 20:53:50 +00:00
Introduce "communication failed" log macro (#8939)
This commit is contained in:
@@ -60,7 +60,7 @@ void PCA6416AComponent::dump_config() {
|
||||
}
|
||||
LOG_I2C_DEVICE(this)
|
||||
if (this->is_failed()) {
|
||||
ESP_LOGE(TAG, "Communication with PCA6416A failed!");
|
||||
ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user