1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-07 05:42:20 +01:00

Update mcp4461_output.cpp

This commit is contained in:
Oliver Kleinecke
2025-02-09 18:03:12 +01:00
committed by GitHub
parent 4fbef5be4b
commit f554500a39

View File

@@ -42,7 +42,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() { uint16_t Mcp4461Wiper::update_state() {
this->state_ = this->read_state(this->wiper_); this->state_ = this->read_state();
return this->state_; return this->state_;
} }