1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Update esphome/components/mcp4461/mcp4461.cpp

Co-authored-by: Djordje Mandic <6750655+DjordjeMandic@users.noreply.github.com>
This commit is contained in:
Oliver Kleinecke
2025-02-03 12:26:54 +01:00
committed by GitHub
parent 8b42738618
commit db3cf620f4

View File

@@ -137,7 +137,7 @@ uint16_t Mcp4461Component::get_wiper_level(uint8_t wiper) {
void Mcp4461Component::update_wiper_level(uint8_t wiper) {
uint16_t data;
data = this->get_wiper_level(wiper);
ESP_LOGV(TAG, "Got value %d from wiper %d", data, wiper);
ESP_LOGV(TAG, "Got value %" PRIu16 " from wiper %" PRIu8, data, wiper);
this->reg_[wiper].state = data;
}