Remove useless code

See also https://github.com/esphome/esphome/pull/801/files#r342813117
This commit is contained in:
Otto Winter 2019-11-05 22:45:31 +01:00
parent d97bc95798
commit 1ed8e63d59
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -134,7 +134,6 @@ void INA219Component::dump_config() {
if (this->is_failed()) { if (this->is_failed()) {
ESP_LOGE(TAG, "Communication with INA219 failed!"); ESP_LOGE(TAG, "Communication with INA219 failed!");
this->mark_failed();
return; return;
} }
LOG_UPDATE_INTERVAL(this); LOG_UPDATE_INTERVAL(this);