From 42f86600473788bbbe1d2b5ca44bf9ad8f4e8dc3 Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Tue, 4 Feb 2025 22:24:33 +0100 Subject: [PATCH] Update mcp4461.h --- esphome/components/mcp4461/mcp4461.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/mcp4461/mcp4461.h b/esphome/components/mcp4461/mcp4461.h index e94c143b94..3b870cf6b9 100644 --- a/esphome/components/mcp4461/mcp4461.h +++ b/esphome/components/mcp4461/mcp4461.h @@ -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_(false), wiper_1_enabled_(false), wiper_2_enabled_(false), wiper_3_enabled_(false) { + : wiper_0_enabled_(true), wiper_1_enabled_(true), wiper_2_enabled_(true), wiper_3_enabled_(true) { this->reg_[0].enabled = this->wiper_0_enabled_; this->reg_[1].enabled = this->wiper_1_enabled_; this->reg_[2].enabled = this->wiper_2_enabled_;