diff --git a/esphome/components/mcp4461/mcp4461.cpp b/esphome/components/mcp4461/mcp4461.cpp index 0d728fdf09..fdeb0e3e67 100644 --- a/esphome/components/mcp4461/mcp4461.cpp +++ b/esphome/components/mcp4461/mcp4461.cpp @@ -158,7 +158,7 @@ void Mcp4461Component::write_wiper_level_(uint8_t wiper, uint16_t value) { } void Mcp4461Component::enable_wiper(uint8_t wiper) { - ESP_LOGV(TAG, "Enabling wiper %d", wiper); + ESP_LOGV(TAG, "Enabling wiper %" PRIu8, wiper); this->reg_[wiper].terminal_hw = true; this->update_ = true; }