|
@@ -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
|