diff --git a/firmware/heater_control.cpp b/firmware/heater_control.cpp index 4dd82d2..2d17bb9 100644 --- a/firmware/heater_control.cpp +++ b/firmware/heater_control.cpp @@ -89,6 +89,9 @@ static float GetDutyForState(HeaterState state, float heaterEsr) // Something has gone wrong, return 0. return 0; } + + // should be unreachable + return 0; } static HeaterState state = HeaterState::Preheat;