mirror of
https://github.com/esphome/esphome.git
synced 2025-04-09 04:10:35 +01:00
Update mcp4461_output.cpp
This commit is contained in:
parent
ccc13520cd
commit
128a2390ec
@ -30,7 +30,7 @@ void Mcp4461Wiper::set_initial_value(float initial_value) {
|
||||
this->initial_value_ = initial_value;
|
||||
// Use the value
|
||||
ESP_LOGCONFIG(TAG, "Setting initial value %.3f", this->initial_value_);
|
||||
this->_parent->set_wiper_level(this->wiper_, this->initial_value_);
|
||||
this->parent_->set_wiper_level(this->wiper_, this->initial_value_);
|
||||
} else {
|
||||
ESP_LOGCONFIG(TAG, "No (valid) initial value set, retaining previous wiper level.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user