Correct compiler warning, try harder to match upstream formatting style
This commit is contained in:
parent
3b66056d75
commit
4102ff48cc
@ -305,7 +305,6 @@ void MitsubishiHeatPump::hpSettingsChanged() {
|
||||
/*
|
||||
* Compute running state from mode & temperatures
|
||||
*/
|
||||
this->action = climate::CLIMATE_ACTION_OFF;
|
||||
switch (this->mode) {
|
||||
case climate::CLIMATE_MODE_HEAT:
|
||||
if (this->current_temperature < this->target_temperature) {
|
||||
@ -318,6 +317,8 @@ void MitsubishiHeatPump::hpSettingsChanged() {
|
||||
this->action = climate::CLIMATE_ACTION_COOLING;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
this->action = climate::CLIMATE_ACTION_OFF;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user