diff --git a/esphome/components/mcp4461/mcp4461.h b/esphome/components/mcp4461/mcp4461.h index f2b49e2983..cea9eb226c 100644 --- a/esphome/components/mcp4461/mcp4461.h +++ b/esphome/components/mcp4461/mcp4461.h @@ -94,11 +94,11 @@ class Mcp4461Component : public Component, public i2c::I2CDevice { WiperState reg_[8]; void begin_(); - bool update_ = false; - bool wiper_0_enabled_ = true; - bool wiper_1_enabled_ = true; - bool wiper_2_enabled_ = true; - bool wiper_3_enabled_ = true; + bool update_{false}; + bool wiper_0_enabled_{true}; + bool wiper_1_enabled_{true}; + bool wiper_2_enabled_{true}; + bool wiper_3_enabled_{true}; }; } // namespace mcp4461 } // namespace esphome