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:
		| @@ -31,7 +31,7 @@ void Mcp4461Component::dump_config() { | |||||||
|   ESP_LOGCONFIG(TAG, "mcp4461:"); |   ESP_LOGCONFIG(TAG, "mcp4461:"); | ||||||
|   LOG_I2C_DEVICE(this); |   LOG_I2C_DEVICE(this); | ||||||
|   for (uint8_t i = 0; i < 8; ++i) { |   for (uint8_t i = 0; i < 8; ++i) { | ||||||
|     ESP_LOGCONFIG(TAG, "Wiper [%" PRIu8 "] level: %" PRIu16, this->reg_[i].state); |     ESP_LOGCONFIG(TAG, "Wiper [%" PRIu8 "] level: %" PRIu16, i, this->reg_[i].state); | ||||||
|     // terminals only valid for volatile wipers 0-3 - enable/disable is terminal hw |     // terminals only valid for volatile wipers 0-3 - enable/disable is terminal hw | ||||||
|     // so also invalid for nonvolatile. For these, only print current level. |     // so also invalid for nonvolatile. For these, only print current level. | ||||||
|     if (i < 4) { |     if (i < 4) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user