mirror of
https://github.com/esphome/esphome.git
synced 2025-03-28 21:48:16 +00:00
Update mcp4461.cpp
This commit is contained in:
parent
e5a41f0f78
commit
30d4cd089f
@ -561,9 +561,9 @@ bool Mcp4461Component::mcp4461_write_(uint8_t addr, uint16_t data, bool nonvolat
|
||||
return false;
|
||||
}
|
||||
this->previous_write_exec_time_ = millis();
|
||||
auto err = this->write_byte(reg, value_byte);
|
||||
return err == i2c::ERROR_OK;;
|
||||
}
|
||||
auto err = this->write_byte(reg, value_byte);
|
||||
return err == i2c::ERROR_OK;
|
||||
}
|
||||
} // namespace mcp4461
|
||||
} // namespace esphome
|
||||
|
Loading…
x
Reference in New Issue
Block a user