mirror of https://github.com/rusefi/wideband.git
heater_control: hanle no supply state (#219)
This commit is contained in:
parent
85e61227ab
commit
e9b942df31
|
@ -194,7 +194,10 @@ static HeaterState GetNextState(struct heater_state &s, HeaterAllow heaterAllowS
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case HeaterState::Stopped: break;
|
case HeaterState::Stopped:
|
||||||
|
case HeaterState::NoHeaterSupply:
|
||||||
|
/* nop */
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return s.heaterState;
|
return s.heaterState;
|
||||||
|
@ -337,6 +340,8 @@ const char* describeHeaterState(HeaterState state)
|
||||||
return "ClosedLoop";
|
return "ClosedLoop";
|
||||||
case HeaterState::Stopped:
|
case HeaterState::Stopped:
|
||||||
return "Stopped";
|
return "Stopped";
|
||||||
|
case HeaterState::NoHeaterSupply:
|
||||||
|
return "NoHeaterSupply";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "Unknown";
|
return "Unknown";
|
||||||
|
|
Loading…
Reference in New Issue