Warn on cold extrusion, dont error

This commit is contained in:
InsanityAutomation 2019-01-21 13:50:30 -05:00 committed by Scott Lahteine
parent aa74a900f5
commit f4d1f13358
2 changed files with 3 additions and 3 deletions

View file

@ -93,7 +93,7 @@ static bool ensure_safe_temperature(const AdvancedPauseMode mode=ADVANCED_PAUSE_
#if ENABLED(PREVENT_COLD_EXTRUSION)
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;
}
#endif
@ -334,7 +334,7 @@ bool pause_print(const float &retract, const point_t &park_point, const float &u
#endif
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 (show_lcd) { // Show status screen

View file

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