mirror of
https://github.com/esphome/esphome.git
synced 2025-04-15 07:10:33 +01:00
Update mcp4461.h
This commit is contained in:
parent
ace6d366c2
commit
5a4eb4349e
@ -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};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user