Skip to content

Commit

Permalink
Make M109 S not wait for cooldown
Browse files Browse the repository at this point in the history
  • Loading branch information
haarp authored Jul 30, 2019
1 parent da7ce65 commit 2dcf282
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2dcf282

Please sign in to comment.