瀏覽代碼

Warn on cold extrusion, dont error

InsanityAutomation 5 年之前
父節點
當前提交
f4d1f13358
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 2
    2
      Marlin/src/feature/pause.cpp
  2. 1
    1
      Marlin/src/module/tool_change.cpp

+ 2
- 2
Marlin/src/feature/pause.cpp 查看文件

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

+ 1
- 1
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
553 553
       #endif
554 554
       if (should_swap) {
555 555
         if (too_cold) {
556
-          SERIAL_ERROR_MSG(MSG_ERR_HOTEND_TOO_COLD);
556
+          SERIAL_ECHO_MSG(MSG_ERR_HOTEND_TOO_COLD);
557 557
           #if ENABLED(SINGLENOZZLE)
558 558
             active_extruder = tmp_extruder;
559 559
             return;

Loading…
取消
儲存