1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-31 16:08:15 +01:00

Update mcp4461.cpp

This commit is contained in:
Oliver Kleinecke 2025-02-05 18:49:38 +01:00 committed by GitHub
parent d13f36a334
commit f571bc0ece
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,7 @@ void Mcp4461Component::dump_config() {
// 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.
// reworked to be a one-line intentionally, as output would not be in order // reworked to be a one-line intentionally, as output would not be in order
if (i < 3) { if (i < 4) {
ESP_LOGCONFIG(TAG, " ├── Volatile wiper [%" PRIu8 "] level: %" PRIu16 ", Status: %s, HW: %s, A: %s, B: %s, W: %s", ESP_LOGCONFIG(TAG, " ├── Volatile wiper [%" PRIu8 "] level: %" PRIu16 ", Status: %s, HW: %s, A: %s, B: %s, W: %s",
i, i,
this->reg_[i].state, this->reg_[i].state,