actually stop if overheated

This commit is contained in:
Matthew Kennedy 2020-12-11 15:10:04 -08:00
parent e2ca441fa9
commit a8bdedaef6
1 changed files with 1 additions and 0 deletions

View File

@ -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;