Scott Lahteine 6 years ago
parent
commit
812f6a7dd7
1 changed files with 8 additions and 6 deletions
  1. 8
    6
      Marlin/src/gcode/feature/pause/M125.cpp

+ 8
- 6
Marlin/src/gcode/feature/pause/M125.cpp View File

@@ -68,14 +68,16 @@ void GcodeSuite::M125() {
68 68
     park_point.y += (active_extruder ? hotend_offset[Y_AXIS][active_extruder] : 0);
69 69
   #endif
70 70
 
71
-  const bool job_running = print_job_timer.isRunning();
71
+  const bool job_running = print_job_timer.isRunning(),
72
+             sd_printing = IS_SD_PRINTING();
72 73
 
73
-  if (pause_print(retract, park_point) && !IS_SD_PRINTING()) {
74
-    wait_for_confirmation();  // Wait for lcd click or M108
75
-    resume_print();           // Return to print position and continue
74
+  if (pause_print(retract, park_point)) {
75
+    if (!sd_printing) {
76
+      wait_for_confirmation();
77
+      resume_print();
78
+    }
79
+    if (job_running) print_job_timer.start();
76 80
   }
77
-
78
-  if (job_running) print_job_timer.start();
79 81
 }
80 82
 
81 83
 #endif // PARK_HEAD_ON_PAUSE

Loading…
Cancel
Save