mirror of
https://github.com/esphome/esphome.git
synced 2025-03-26 04:28:17 +00:00
Update mcp4461_output.cpp
This commit is contained in:
parent
a72fa9c5ab
commit
52f89f19d0
@ -39,7 +39,7 @@ void Mcp4461Wiper::write_state(float state) {
|
|||||||
|
|
||||||
uint16_t Mcp4461Wiper::read_state() { return this->parent_->get_wiper_level_(this->wiper_); }
|
uint16_t Mcp4461Wiper::read_state() { return this->parent_->get_wiper_level_(this->wiper_); }
|
||||||
|
|
||||||
uint16_t Mcp4461Wiper::update_state() { return this->parent_->update_wiper_level_(this->wiper_); }
|
void Mcp4461Wiper::update_state() { this->state = this->read_state(this->wiper_); }
|
||||||
|
|
||||||
void Mcp4461Wiper::save_level() {
|
void Mcp4461Wiper::save_level() {
|
||||||
if (this->parent_->is_failed()) {
|
if (this->parent_->is_failed()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user