1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-27 04:58:15 +00:00

Update mcp4461.cpp

This commit is contained in:
Oliver Kleinecke 2025-02-07 17:35:01 +01:00 committed by GitHub
parent 419533b6af
commit ad3dc2131e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ void Mcp4461Component::begin_() {
void Mcp4461Component::set_initial_value(Mcp4461WiperIdx wiper, float initial_value) {
uint8_t wiper_id = static_cast<uint8_t>(wiper);
this->reg_[wiper_id].initial_value = initial_value;
this->reg_[wiper_id].initial_value = initial_value;
}
void Mcp4461Component::set_write_protection_status_() {