1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-26 04:28:17 +00:00

Update mcp4461.cpp

This commit is contained in:
Oliver Kleinecke 2025-02-07 17:27:33 +01:00 committed by GitHub
parent f1799ae955
commit 4b4dea20fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,7 @@ void Mcp4461Component::begin_() {
}
}
void Mcp4461Wiper::set_initial_value(Mcp4461WiperIdx wiper, float initial_value) {
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;
}