mirror of
https://github.com/esphome/esphome.git
synced 2025-03-24 11:38:23 +00:00
Update mcp4461.cpp
This commit is contained in:
parent
465cff746b
commit
1bb865b2dd
@ -32,7 +32,7 @@ void Mcp4461Component::begin_() {
|
||||
if (this->reg_[i].enabled) {
|
||||
this->reg_[i].state = this->read_wiper_level_(i);
|
||||
} else {
|
||||
// only volatile wipers can be disabled
|
||||
// only volatile wipers can be set disabled on hw level
|
||||
if (i < 4) {
|
||||
this->reg_[i].state = 0;
|
||||
Mcp4461WiperIdx wiper_idx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user