mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Update mcp4461.cpp
This commit is contained in:
		| @@ -368,7 +368,7 @@ bool Mcp4461Component::increase_wiper_(Mcp4461WiperIdx wiper) { | ||||
|     return false; | ||||
|   } | ||||
|   if (this->reg_[wiper_idx].state == 256) { | ||||
|     ESP_LOGV(TAG, "%s", "Maximum wiper level reached, further increase of wiper %" PRIu8 " prohibited", wiper_idx); | ||||
|     ESP_LOGV(TAG, "Maximum wiper level reached, further increase of wiper %" PRIu8 " prohibited", wiper_idx); | ||||
|     return false; | ||||
|   } | ||||
|   ESP_LOGV(TAG, "Increasing wiper %" PRIu8 "", wiper_idx); | ||||
| @@ -402,7 +402,7 @@ bool Mcp4461Component::decrease_wiper_(Mcp4461WiperIdx wiper) { | ||||
|     return false; | ||||
|   } | ||||
|   if (this->reg_[wiper_idx].state == 0) { | ||||
|     ESP_LOGV(TAG, "%s", "Minimum wiper level reached, further decrease of wiper %" PRIu8 " prohibited", wiper_idx); | ||||
|     ESP_LOGV(TAG, "Minimum wiper level reached, further decrease of wiper %" PRIu8 " prohibited", wiper_idx); | ||||
|     return false; | ||||
|   } | ||||
|   ESP_LOGV(TAG, "Decreasing wiper %" PRIu8 "", wiper_idx); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user