1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-28 21:48:16 +00:00

Update mcp4461.cpp

This commit is contained in:
Oliver Kleinecke 2025-02-06 17:20:28 +01:00 committed by GitHub
parent cb2e249d84
commit 9aac14890e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -261,7 +261,7 @@ void Mcp4461Component::write_wiper_level_(uint8_t wiper, uint16_t value) {
if (this->mcp4461_write_(this->get_wiper_address_(wiper), value, nonvolatile)) {
this->status_clear_warning();
} else {
ESP_LOGW(TAG, "Error writing %swiper %" PRIu8 " level", (wiper > 3) ? "nonvolatile " : "", wiper);
ESP_LOGW(TAG, "Error writing %swiper %" PRIu8 " level %" PRIu16 "", (wiper > 3) ? "nonvolatile " : "", wiper, value);
this->status_set_warning();
}
}