Fix "paused" message and M125 called by M25 (#12551)
This commit is contained in:
@@ -68,15 +68,16 @@ void GcodeSuite::M125() {
|
||||
park_point.y += (active_extruder ? hotend_offset[Y_AXIS][active_extruder] : 0);
|
||||
#endif
|
||||
|
||||
const bool job_running = print_job_timer.isRunning(),
|
||||
sd_printing = IS_SD_PRINTING();
|
||||
|
||||
if (pause_print(retract, park_point)) {
|
||||
#if ENABLED(SDSUPPORT)
|
||||
const bool sd_printing = IS_SD_PRINTING() || parser.boolval('S'); // Undocumented parameter
|
||||
#else
|
||||
constexpr bool sd_printing = false;
|
||||
#endif
|
||||
if (!sd_printing) {
|
||||
wait_for_confirmation();
|
||||
resume_print();
|
||||
}
|
||||
if (job_running) print_job_timer.start();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user