Fix Bug
This commit is contained in:
@@ -32,7 +32,7 @@ void TrumaHeaterNumber::control(float value) {
|
|||||||
this->parent_->action_heater_water(static_cast<u_int8_t>(value));
|
this->parent_->action_heater_water(static_cast<u_int8_t>(value));
|
||||||
break;
|
break;
|
||||||
case TRUMA_NUMBER_TYPE::ELECTRIC_POWER_LEVEL:
|
case TRUMA_NUMBER_TYPE::ELECTRIC_POWER_LEVEL:
|
||||||
this->parent_->action_heater_water(static_cast<u_int16_t>(value));
|
this->parent_->action_heater_electric_power_level(static_cast<u_int16_t>(value));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user