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 and erik434 committed Feb 22, 2022
1 parent 034cc50 commit fd735f3
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 @@ -10416,6 +10416,7 @@ static void wait_for_heater(long codenum, uint8_t extruder) {
cancel_heatup = false;
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 fd735f3

Please sign in to comment.