mirror of
https://github.com/esphome/esphome.git
synced 2025-04-15 07:10:33 +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
@ -102,7 +102,6 @@ bool MCP3428Component::request_measurement(MCP3428Multiplexer multiplexer, MCP34
|
||||
} else {
|
||||
if (this->write(&config, 1) != i2c::ErrorCode::NO_ERROR) {
|
||||
this->status_set_warning("Error writing configuration to chip.");
|
||||
timeout_wait = 1000;
|
||||
single_measurement_active_ = false;
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user