mirror of
https://github.com/esphome/esphome.git
synced 2025-04-08 03:40:28 +01:00
Update mcp4461.cpp
This commit is contained in:
parent
90e15d07e5
commit
bfe0deae7c
@ -65,8 +65,8 @@ void Mcp4461Component::loop() {
|
||||
}
|
||||
uint8_t new_terminal_value = this->calc_terminal_connector_byte_(terminal_connector);
|
||||
if (new_terminal_value != this->get_terminal_register(terminal_connector)) {
|
||||
ESP_LOGV(TAG, "updating terminal %" PRIu8 " to new value %" PRIu8,
|
||||
static_cast<uint8_t>(terminal_connector), new_terminal_value);
|
||||
ESP_LOGV(TAG, "updating terminal %" PRIu8 " to new value %" PRIu8, static_cast<uint8_t>(terminal_connector),
|
||||
new_terminal_value);
|
||||
this->set_terminal_register(terminal_connector, new_terminal_value);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user