mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Bug: Unwanted change resistance in x9c component (#5483)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		| @@ -7,6 +7,10 @@ namespace x9c { | ||||
| static const char *const TAG = "x9c.output"; | ||||
|  | ||||
| void X9cOutput::trim_value(int change_amount) { | ||||
|   if (change_amount == 0) { | ||||
|     return; | ||||
|   } | ||||
|  | ||||
|   if (change_amount > 0) {  // Set change direction | ||||
|     this->ud_pin_->digital_write(true); | ||||
|   } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user