From 2dcf282c8411d8a0aad4e84d36c0cb78b1b49eae Mon Sep 17 00:00:00 2001 From: haarp <781030+haarp@users.noreply.github.com> Date: Tue, 30 Jul 2019 20:46:49 +0200 Subject: [PATCH] Make M109 S not wait for cooldown fixes #1474 --- Firmware/Marlin_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 35722679bf..ccb6f98f23 100755 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -8802,6 +8802,7 @@ static void wait_for_heater(long codenum, uint8_t extruder) { _and_ until TEMP_RESIDENCY_TIME hasn't passed since we reached it */ while ((!cancel_heatup) && ((residencyStart == -1) || (residencyStart >= 0 && (((unsigned int)(_millis() - residencyStart)) < (TEMP_RESIDENCY_TIME * 1000UL))))) { + if ((CooldownNoWait == true) && !target_direction) break; #else while (target_direction ? (isHeatingHotend(tmp_extruder)) : (isCoolingHotend(tmp_extruder) && (CooldownNoWait == false))) { #endif //TEMP_RESIDENCY_TIME