Remove arbitrary wait time

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Michael Doppler 2024-07-07 13:27:29 +02:00 committed by GitHub
parent 10c133bbd3
commit 9942f3b387
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
} }