mirror of
https://github.com/esphome/esphome.git
synced 2025-10-25 21:23:53 +01:00
Introduce "communication failed" log macro (#8939)
This commit is contained in:
@@ -26,7 +26,7 @@ void PCF8574LCDDisplay::dump_config() {
|
||||
LOG_I2C_DEVICE(this);
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
if (this->is_failed()) {
|
||||
ESP_LOGE(TAG, "Communication with LCD Display failed!");
|
||||
ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
|
||||
}
|
||||
}
|
||||
void PCF8574LCDDisplay::write_n_bits(uint8_t value, uint8_t n) {
|
||||
|
||||
Reference in New Issue
Block a user