Browse Source

Warn on cold extrusion, dont error

pull/1/head
InsanityAutomation 6 years ago
committed by Scott Lahteine
parent
commit
f4d1f13358
  1. 4
      Marlin/src/feature/pause.cpp
  2. 2
      Marlin/src/module/tool_change.cpp

4
Marlin/src/feature/pause.cpp

@ -93,7 +93,7 @@ static bool ensure_safe_temperature(const AdvancedPauseMode mode=ADVANCED_PAUSE_
#if ENABLED(PREVENT_COLD_EXTRUSION) #if ENABLED(PREVENT_COLD_EXTRUSION)
if (!DEBUGGING(DRYRUN) && thermalManager.targetTooColdToExtrude(active_extruder)) { if (!DEBUGGING(DRYRUN) && thermalManager.targetTooColdToExtrude(active_extruder)) {
SERIAL_ERROR_MSG(MSG_ERR_HOTEND_TOO_COLD); SERIAL_ECHO_MSG(MSG_ERR_HOTEND_TOO_COLD);
return false; return false;
} }
#endif #endif
@ -334,7 +334,7 @@ bool pause_print(const float &retract, const point_t &park_point, const float &u
#endif #endif
if (!DEBUGGING(DRYRUN) && unload_length && thermalManager.targetTooColdToExtrude(active_extruder)) { if (!DEBUGGING(DRYRUN) && unload_length && thermalManager.targetTooColdToExtrude(active_extruder)) {
SERIAL_ERROR_MSG(MSG_ERR_HOTEND_TOO_COLD); SERIAL_ECHO_MSG(MSG_ERR_HOTEND_TOO_COLD);
#if HAS_LCD_MENU #if HAS_LCD_MENU
if (show_lcd) { // Show status screen if (show_lcd) { // Show status screen

2
Marlin/src/module/tool_change.cpp

@ -553,7 +553,7 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
#endif #endif
if (should_swap) { if (should_swap) {
if (too_cold) { if (too_cold) {
SERIAL_ERROR_MSG(MSG_ERR_HOTEND_TOO_COLD); SERIAL_ECHO_MSG(MSG_ERR_HOTEND_TOO_COLD);
#if ENABLED(SINGLENOZZLE) #if ENABLED(SINGLENOZZLE)
active_extruder = tmp_extruder; active_extruder = tmp_extruder;
return; return;

Loading…
Cancel
Save