mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Update mcp4461_output.cpp
This commit is contained in:
		| @@ -17,7 +17,7 @@ void Mcp4461Wiper::write_state(float state) { | |||||||
|  |  | ||||||
| float Mcp4461Wiper::read_state() { return (static_cast<float>(this->parent_->get_wiper_level_(this->wiper_)) / 1000.0); } | float Mcp4461Wiper::read_state() { return (static_cast<float>(this->parent_->get_wiper_level_(this->wiper_)) / 1000.0); } | ||||||
|  |  | ||||||
| uint16_t Mcp4461Wiper::update_state() { | float Mcp4461Wiper::update_state() { | ||||||
|   this->state_ = this->read_state(); |   this->state_ = this->read_state(); | ||||||
|   return this->state_; |   return this->state_; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user