From 43445e80e4b5eca54ae9502b405ae37d5ad54623 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 10 Dec 2020 21:05:02 -0800 Subject: [PATCH] warning --- firmware/heater_control.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;