From 2e3bcad935faecc5573edda89daff43e4b6e481c Mon Sep 17 00:00:00 2001 From: Oliver Kleinecke Date: Mon, 3 Feb 2025 12:16:41 +0100 Subject: [PATCH] Update esphome/components/mcp4461/mcp4461.cpp Co-authored-by: Djordje Mandic <6750655+DjordjeMandic@users.noreply.github.com> --- esphome/components/mcp4461/mcp4461.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/mcp4461/mcp4461.cpp b/esphome/components/mcp4461/mcp4461.cpp index 57601473ab..a9e46d49c5 100644 --- a/esphome/components/mcp4461/mcp4461.cpp +++ b/esphome/components/mcp4461/mcp4461.cpp @@ -9,7 +9,7 @@ namespace mcp4461 { static const char *const TAG = "mcp4461"; void Mcp4461Component::setup() { - ESP_LOGCONFIG(TAG, "Setting up mcp4461 (0x%02X)...", this->address_); + ESP_LOGCONFIG(TAG, "Setting up mcp4461 (0x%02" PRIX8 ")...", this->address_); auto err = this->write(nullptr, 0); if (err != i2c::ERROR_OK) { this->mark_failed();