1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 21:32:21 +01:00

Update mcp4461.h

This commit is contained in:
Oliver Kleinecke
2025-02-09 15:41:26 +01:00
committed by GitHub
parent ace6d366c2
commit 5a4eb4349e

View File

@@ -8,6 +8,7 @@ namespace esphome {
namespace mcp4461 { namespace mcp4461 {
struct WiperState { struct WiperState {
bool update = false;
bool terminal_a = true; bool terminal_a = true;
bool terminal_b = true; bool terminal_b = true;
bool terminal_w = true; bool terminal_w = true;
@@ -118,7 +119,6 @@ class Mcp4461Component : public Component, public i2c::I2CDevice {
WiperState reg_[8]; WiperState reg_[8];
void begin_(); void begin_();
bool update_{false};
bool last_eeprom_write_timed_out_{false}; bool last_eeprom_write_timed_out_{false};
bool write_protected_{false}; bool write_protected_{false};
bool wiper_0_disabled_{false}; bool wiper_0_disabled_{false};