From b1404a0743326e264658436b6d81ca8075e26505 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Tue, 2 Jun 2015 12:26:21 +0200 Subject: [PATCH] fix thermal protection state machine target temp. V2 If the target temperature is changed then it would always stay in the reset state. Thanks to @tonokip. Replaces #2119 --- Marlin/temperature.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index d55ebffd9..16d3cfc61 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -1042,7 +1042,6 @@ void tp_init() { case TRReset: *timer = 0; *state = TRInactive; - break; // Inactive state waits for a target temperature to be set case TRInactive: if (target_temperature > 0) {