mirror of https://github.com/rusefi/wideband.git
actually stop if overheated
This commit is contained in:
parent
e2ca441fa9
commit
a8bdedaef6
|
@ -63,6 +63,7 @@ static HeaterState GetNextState(HeaterState state, float sensorEsr)
|
||||||
if (sensorEsr < HEATER_FAULT_ESR)
|
if (sensorEsr < HEATER_FAULT_ESR)
|
||||||
{
|
{
|
||||||
setFault(Fault::SensorOverheat);
|
setFault(Fault::SensorOverheat);
|
||||||
|
return HeaterState::Stopped;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue