mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Update mcp4461_output.cpp
This commit is contained in:
@@ -33,7 +33,7 @@ void Mcp4461Wiper::set_initial_value(float initial_value) {
|
|||||||
this->state_ = *this->initial_value_;
|
this->state_ = *this->initial_value_;
|
||||||
this->parent_->set_wiper_level(this->wiper_, *this->initial_value_);
|
this->parent_->set_wiper_level(this->wiper_, *this->initial_value_);
|
||||||
} else {
|
} else {
|
||||||
ESP_LOGCONFIG(TAG, "No (valid) initial value set, retaining previous wiper level.");
|
ESP_LOGCONFIG(TAG, "Invalid initial value set, retaining previous wiper level.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user