mirror of
https://github.com/esphome/esphome.git
synced 2025-04-01 08:28:15 +01:00
Update mcp4461.h
This commit is contained in:
parent
42f8660047
commit
3232bb795a
@ -56,7 +56,7 @@ class Mcp4461Wiper;
|
||||
class Mcp4461Component : public Component, public i2c::I2CDevice {
|
||||
public:
|
||||
Mcp4461Component(bool disable_wiper_0, bool disable_wiper_1, bool disable_wiper_2, bool disable_wiper_3)
|
||||
: wiper_0_enabled_(true), wiper_1_enabled_(true), wiper_2_enabled_(true), wiper_3_enabled_(true) {
|
||||
: wiper_0_enabled_(false), wiper_1_enabled_(false), wiper_2_enabled_(false), wiper_3_enabled_(false) {
|
||||
this->reg_[0].enabled = this->wiper_0_enabled_;
|
||||
this->reg_[1].enabled = this->wiper_1_enabled_;
|
||||
this->reg_[2].enabled = this->wiper_2_enabled_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user