mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 18:54:14 +01:00
Remove arbitrary wait time
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
10c133bbd3
commit
9942f3b387
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ bool MCP3428Component::request_measurement(MCP3428Multiplexer multiplexer, MCP34
|
||||||
} else {
|
} else {
|
||||||
if (this->write(&config, 1) != i2c::ErrorCode::NO_ERROR) {
|
if (this->write(&config, 1) != i2c::ErrorCode::NO_ERROR) {
|
||||||
this->status_set_warning("Error writing configuration to chip.");
|
this->status_set_warning("Error writing configuration to chip.");
|
||||||
timeout_wait = 1000;
|
|
||||||
single_measurement_active_ = false;
|
single_measurement_active_ = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue