Add missing const

This commit is contained in:
Anton Sergunov 2024-11-13 14:14:19 +00:00
parent 7db12c0a63
commit 1f6007712e

View file

@ -89,7 +89,7 @@ void PIDClimate::dump_config() {
this->autotuner_->dump_config();
}
}
float PIDClimate::clamp_value_by_mode_(float value) {
float PIDClimate::clamp_value_by_mode_(float value) const {
switch (this->mode) {
case climate::CLIMATE_MODE_OFF:
return 0.0f;